WikiCrawler/MediaWiki/Wikidata.cs
/// <summary>
/// Gets the Wikidata property id for the specified parameter of Commons "Authority control".
/// </summary>
/// <param name="authority"></param>
/// <returns></returns>
Gets the Wikidata property id for the specified parameter of Commons "Authority control".
Gets the Wikidata property id for the specified parameter of Commons " Authority control " .
public static string GetPropertyIdForAuthority(string authority)
		{
			switch (authority)
			{
				case "VIAF":
					return "P214";
				case "LCCN":
					return "P244";
				case "ARC":
					return "";
				case "GND":
					return "P227";
				case "SELIBR":
					return "";
				case "BNF":
					return "P268";
				case "SUDOC":
					return "P269";
				case "BPN":
					return "P651";
				case "ULAN":
					return "P245";
				case "ORCID":
					return "P496";
				case "RID":
					return "";
				case "ISNI":
					return "P213";
				case "BIBSYS":
					return "P1015";
				case "KID":
					return "P1138";
				case "FotoBibl":
					return "";
				case "Museofile":
					return "P539";
				case "TSURL":
					return "";
				default:
					return "";
			}
		}
public static string GetPropertyIdForAuthority ( string authority ) { switch ( authority ) { case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; case " " : return " " ; default : return " " ; } }
Gets the Wikidata property id for the specified parameter of Commons "Authority control".
Gets the Wikidata property id for the specified parameter of Commons " Authority control " .
None
authority
string
None