Simple Question (Direct)
Simple Question
Q6145441
P19
Q56061
USER
Which administrative territory is the birthplace of James Whitehead ?
(Q6145441,P19,c(Q56061))
action filter_type
action find
entity Q6145441
relation P19
type Q56061
['Q6145441', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6145441 property:P19 ?a . ?a rdf:type ontology:Q56061 }
James Whitehead
action filter_type
action find
entity James Whitehead
relation place of birth
type administrative territorial entity
['James Whitehead', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:James_Whitehead property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q38022
SYSTEM
St. Louis
Q38022
(Q6145441,P19,c(Q56061))
action filter_type
action find
entity Q6145441
relation P19
type Q56061
[ANSWER] is the birthplace of James Whitehead
['Q6145441', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q6145441 property:P19 ?a . ?a rdf:type ontology:Q56061 }
St. Louis
St. Louis is the birthplace of James Whitehead
St. Louis
action filter_type
action find
entity James Whitehead
relation place of birth
type administrative territorial entity
['James Whitehead', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:James_Whitehead property:place_of_birth ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6145441
P106
Q12737077
USER
What does that person do for a living ?
(Q38022,P106,c(Q12737077))
action filter_type
action find
entity Q6145441
relation P106
type Q12737077
['Q38022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q6145441 property:P106 ?q }
James Whitehead
action filter_type
action find
entity James Whitehead
relation occupation
type occupation
['St. Louis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:James_Whitehead property:occupation ?q }
[]
occupation
Q49757
SYSTEM
poet
Q49757
(Q38022,P106,c(Q12737077))
action filter_type
action find
entity Q6145441
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q38022', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q6145441 property:P106 ?q }
poet
Poet that person does for a living
poet
action filter_type
action find
entity James Whitehead
relation occupation
type occupation
['St. Louis', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:James_Whitehead property:occupation ?q }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q49757 Q272843
P106
Q502895
USER
Does Ishigaki Rin have career as that occupation ?
(Q272843,P106,Q49757)
action is_in
entity Q49757
action find
entity Q272843
relation P106
['Q272843', 'P106', 'Q49757']
ASK WHERE { resource:Q272843 property:P106 resource:Q49757 }
poet Ishigaki Rin
action is_in
entity poet
action find
entity Ishigaki Rin
relation occupation
['Ishigaki Rin', 'occupation', 'poet']
ASK WHERE { resource:Ishigaki_Rin property:occupation resource:poet }
[]
common name
SYSTEM
YES
(Q272843,P106,Q49757)
action is_in
entity Q49757
action find
entity Q272843
relation P106
[ANSWER]
['Q272843', 'P106', 'Q49757']
ASK WHERE { resource:Q272843 property:P106 resource:Q49757 }
Yes
action is_in
entity poet
action find
entity Ishigaki Rin
relation occupation
['Ishigaki Rin', 'occupation', 'poet']
ASK WHERE { resource:Ishigaki_Rin property:occupation resource:poet }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P417
Q1445650 Q502895 Q56061
USER
How many administrative territories have around 2 holidays and people as their patron saint ?
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 2
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?e ) WHERE { { ?j property:P417 ?z . ?z rdf:type ontology:Q1445650 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P417 ?z . ?j rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?e = 2 ) }
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?e ) WHERE { { ?j property:patron_saint ?z . ?z rdf:type ontology:holiday . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:patron_saint ?z . ?j rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?e = 2 ) }
[]
holiday common name administrative territorial entity
SYSTEM
2
Q39519 Q220
(c(Q56061),P417,c(Q1445650)|c(Q502895))
action count
action approx
action union
action find_tuple_counts
relation P417
type Q56061
type Q1445650
action find_tuple_counts
relation P417
type Q56061
type Q502895
value 2
[ANSWER]
[{'concept': 'Q56061'}, 'P417', [{'concept': 'Q1445650'}, {'concept': 'Q502895'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?e ) WHERE { { ?j property:P417 ?z . ?z rdf:type ontology:Q1445650 . ?j rdf:type ontology:Q56061 } UNION { ?j property:P417 ?z . ?j rdf:type ontology:Q56061 . ?z rdf:type ontology:Q502895 } } GROUP BY ?j } . FILTER ( ?e = 2 ) }
Brinzio Rome
2
action count
action approx
action union
action find_tuple_counts
relation patron saint
type administrative territorial entity
type holiday
action find_tuple_counts
relation patron saint
type administrative territorial entity
type common name
value 2
[{'concept': 'administrative territorial entity'}, 'patron saint', [{'concept': 'holiday'}, {'concept': 'common name'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?e ) WHERE { { ?j property:patron_saint ?z . ?z rdf:type ontology:holiday . ?j rdf:type ontology:administrative_territorial_entity } UNION { ?j property:patron_saint ?z . ?j rdf:type ontology:administrative_territorial_entity . ?z rdf:type ontology:common_name } } GROUP BY ?j } . FILTER ( ?e = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38022
P159
Q12973014
USER
Which sports team has its head office location at St. Louis ?
(c(Q12973014),P159,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P159
type Q12973014
[{'concept': 'Q12973014'}, 'P159', 'Q38022']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q38022 . ?p rdf:type ontology:Q12973014 }
St. Louis
action filter_type
action find_reverse
entity St. Louis
relation headquarters location
type sports team
[{'concept': 'sports team'}, 'headquarters location', 'St. Louis']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:St._Louis . ?p rdf:type ontology:sports_team }
[]
sports team
Q2320413
SYSTEM
St. Louis Bombers
Q2320413
(c(Q12973014),P159,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P159
type Q12973014
[ANSWER] has its head office location at St. Louis
[{'concept': 'Q12973014'}, 'P159', 'Q38022']
SELECT DISTINCT ?p WHERE { ?p property:P159 resource:Q38022 . ?p rdf:type ontology:Q12973014 }
St. Louis Bombers
St. Louis Bombers has its head office location at St. Louis
St. Louis Bombers
action filter_type
action find_reverse
entity St. Louis
relation headquarters location
type sports team
[{'concept': 'sports team'}, 'headquarters location', 'St. Louis']
SELECT DISTINCT ?p WHERE { ?p property:headquarters_location resource:St._Louis . ?p rdf:type ontology:sports_team }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38022
P740
Q2088357
USER
Which are the musical ensembles that originates at St. Louis ?
(c(Q2088357),P740,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q38022']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q38022 . ?r rdf:type ontology:Q2088357 }
St. Louis
action filter_type
action find_reverse
entity St. Louis
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'St. Louis']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:St._Louis . ?r rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q3487259 Q6012507 Q17153560
SYSTEM
So They Say, In the Midst of Lions, Black Fast
Q6012507 Q7430751 Q3487259 Q6707741 Q20012488 Q6488443 Q6494540 Q7744094 Q18719094 Q17153560 Q4678457 Q17183132 Q16949619 Q5533711
(c(Q2088357),P740,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P740
type Q2088357
The musical ensembles that originates at St. Louis are [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q38022']
SELECT DISTINCT ?r WHERE { ?r property:P740 resource:Q38022 . ?r rdf:type ontology:Q2088357 }
In the Midst of Lions Scene of Irony So They Say Lye By Mistake American Wrestlers Lapush Last Nights Vice The Kendalls Foxing Black Fast Adair Ou Où Ludo Gentleman Auction House
The musical ensembles that originates at St. Louis are So They Say, In the Midst of Lions and Black Fast
So They Say In the Midst of Lions Black Fast
action filter_type
action find_reverse
entity St. Louis
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'St. Louis']
SELECT DISTINCT ?r WHERE { ?r property:location_of_formation resource:St._Louis . ?r rdf:type ontology:musical_ensemble }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3487259 Q6012507 Q17153560
P136
Q151885
USER
What can be considered as category for So They Say, In the Midst of Lions and Black Fast ?
(Q3487259,P136,c(Q151885)) (Q6012507,P136,c(Q151885)) (Q17153560,P136,c(Q151885))
action union
action filter_type
action find
entity Q3487259
relation P136
type Q151885
action filter_type
action find
entity Q6012507
relation P136
type Q151885
action filter_type
action find
entity Q17153560
relation P136
type Q151885
['Q3487259', 'P136', {'concept': 'Q151885'}] ['Q6012507', 'P136', {'concept': 'Q151885'}] ['Q17153560', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { { resource:Q6012507 property:P136 ?a . ?a rdf:type ontology:Q151885 } UNION { resource:Q3487259 property:P136 ?a . ?a rdf:type ontology:Q151885 } }
So They Say In the Midst of Lions Black Fast
action union
action filter_type
action find
entity So They Say
relation genre
type concept
action filter_type
action find
entity In the Midst of Lions
relation genre
type concept
action filter_type
action find
entity Black Fast
relation genre
type concept
['So They Say', 'genre', {'concept': 'concept'}] ['In the Midst of Lions', 'genre', {'concept': 'concept'}] ['Black Fast', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { { resource:In_the_Midst_of_Lions property:genre ?a . ?a rdf:type ontology:concept } UNION { resource:So_They_Say property:genre ?a . ?a rdf:type ontology:concept } }
[]
concept
Q11366 Q3071 Q483352
SYSTEM
alternative rock, punk rock, thrash metal
Q11366 Q3071 Q483352
(Q3487259,P136,c(Q151885)) (Q6012507,P136,c(Q151885)) (Q17153560,P136,c(Q151885))
action union
action filter_type
action find
entity Q3487259
relation P136
type Q151885
action filter_type
action find
entity Q6012507
relation P136
type Q151885
action filter_type
action find
entity Q17153560
relation P136
type Q151885
And [ANSWERS] can be considered as category for So They Say, In the Midst of Lions and Black Fast
['Q3487259', 'P136', {'concept': 'Q151885'}] ['Q6012507', 'P136', {'concept': 'Q151885'}] ['Q17153560', 'P136', {'concept': 'Q151885'}]
SELECT DISTINCT ?a WHERE { { resource:Q6012507 property:P136 ?a . ?a rdf:type ontology:Q151885 } UNION { resource:Q3487259 property:P136 ?a . ?a rdf:type ontology:Q151885 } }
alternative rock punk rock thrash metal
And alternative rock, punk rock and thrash metal can be considered as category for So They Say, In the Midst of Lions and Black Fast
alternative rock punk rock thrash metal
action union
action filter_type
action find
entity So They Say
relation genre
type concept
action filter_type
action find
entity In the Midst of Lions
relation genre
type concept
action filter_type
action find
entity Black Fast
relation genre
type concept
['So They Say', 'genre', {'concept': 'concept'}] ['In the Midst of Lions', 'genre', {'concept': 'concept'}] ['Black Fast', 'genre', {'concept': 'concept'}]
SELECT DISTINCT ?a WHERE { { resource:In_the_Midst_of_Lions property:genre ?a . ?a rdf:type ontology:concept } UNION { resource:So_They_Say property:genre ?a . ?a rdf:type ontology:concept } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38022
P937
Q502895
USER
Which people have St. Louis as their work location ?
(c(Q502895),P937,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q38022']
SELECT DISTINCT ?x WHERE { ?x property:P937 resource:Q38022 . ?x rdf:type ontology:Q502895 }
St. Louis
action filter_type
action find_reverse
entity St. Louis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'St. Louis']
SELECT DISTINCT ?x WHERE { ?x property:work_location resource:St._Louis . ?x rdf:type ontology:common_name }
[]
common name
Q1223749 Q298229 Q2036242
SYSTEM
Dietrich Gerhard, Laurell K. Hamilton, Osunlade
Q268199 Q2036242 Q2077837 Q1223749 Q1494954 Q298229 Q87626
(c(Q502895),P937,Q38022)
action filter_type
action find_reverse
entity Q38022
relation P937
type Q502895
[ANSWERS] have St. Louis as their work location
[{'concept': 'Q502895'}, 'P937', 'Q38022']
SELECT DISTINCT ?x WHERE { ?x property:P937 resource:Q38022 . ?x rdf:type ontology:Q502895 }
Joyce Meyer Osunlade Peter Richard Kenrick Dietrich Gerhard Gary Stormo Laurell K. Hamilton Wilhelm Sihler
Dietrich Gerhard, Laurell K. Hamilton and Osunlade have St. Louis as their work location
Dietrich Gerhard Laurell K. Hamilton Osunlade
action filter_type
action find_reverse
entity St. Louis
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'St. Louis']
SELECT DISTINCT ?x WHERE { ?x property:work_location resource:St._Louis . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298229
P50
Q2342494
USER
Which collectables have Laurell K. Hamilton as their author ?
(c(Q2342494),P50,Q298229)
action filter_type
action find_reverse
entity Q298229
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q298229']
SELECT DISTINCT ?d WHERE { ?d property:P50 resource:Q298229 . ?d rdf:type ontology:Q2342494 }
Laurell K. Hamilton
action filter_type
action find_reverse
entity Laurell K. Hamilton
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Laurell K. Hamilton']
SELECT DISTINCT ?d WHERE { ?d property:author resource:Laurell_K._Hamilton . ?d rdf:type ontology:collectable }
[]
collectable
Q3870407 Q8563826 Q4003689
SYSTEM
Narcissus in Chains, Flirt, A Kiss of Shadows
Q3870407 Q3933517 Q3793043 Q15035777 Q15035806 Q7738912 Q8563826 Q6015506 Q4655728 Q3647735 Q7653122 Q16155063 Q3793464 Q5221028 Q6827852 Q3714029 Q16387053 Q4657712 Q3877678 Q16386810 Q3907714 Q5284115 Q6417126 Q4003689 Q5065295 Q370861 Q7445394 Q4927654 Q4996792
(c(Q2342494),P50,Q298229)
action filter_type
action find_reverse
entity Q298229
relation P50
type Q2342494
[ANSWERS] have Laurell K. Hamilton as their author
[{'concept': 'Q2342494'}, 'P50', 'Q298229']
SELECT DISTINCT ?d WHERE { ?d property:P50 resource:Q298229 . ?d rdf:type ontology:Q2342494 }
Narcissus in Chains The Laughing Corpse The Killing Dance Skin Trade A Stroke of Midnight The Harlequin Flirt Incubus Dreams A Caress of Twilight Obsidian Butterfly Swallowing Darkness Affliction Circus of the Damned Danse Macabre Micah Burnt Offerings Mistral's Kiss A Lick of Frost Guilty Pleasures The Lunatic Cafe Bloody Bones Divine Misdemeanors Kiss the Dead A Kiss of Shadows Cerulean Sins Blue Moon Seduced by Moonlight Blood Noir Bullet
Narcissus in Chains, Flirt and A Kiss of Shadows have Laurell K. Hamilton as their author
Narcissus in Chains Flirt A Kiss of Shadows
action filter_type
action find_reverse
entity Laurell K. Hamilton
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Laurell K. Hamilton']
SELECT DISTINCT ?d WHERE { ?d property:author resource:Laurell_K._Hamilton . ?d rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298229
P103
Q34770
USER
Which language is the mother tongue of that person ?
(Q3870407,P103,c(Q34770)) (Q8563826,P103,c(Q34770)) (Q4003689,P103,c(Q34770))
action filter_type
action find
entity Q298229
relation P103
type Q34770
['Q3870407', 'P103', {'concept': 'Q34770'}] ['Q8563826', 'P103', {'concept': 'Q34770'}] ['Q4003689', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q298229 property:P103 ?y . ?y rdf:type ontology:Q34770 }
Laurell K. Hamilton
action filter_type
action find
entity Laurell K. Hamilton
relation native language
type language
['Narcissus in Chains', 'native language', {'concept': 'language'}] ['Flirt', 'native language', {'concept': 'language'}] ['A Kiss of Shadows', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Laurell_K._Hamilton property:native_language ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q3870407,P103,c(Q34770)) (Q8563826,P103,c(Q34770)) (Q4003689,P103,c(Q34770))
action filter_type
action find
entity Q298229
relation P103
type Q34770
[ANSWER] is the mother tongue of that person
['Q3870407', 'P103', {'concept': 'Q34770'}] ['Q8563826', 'P103', {'concept': 'Q34770'}] ['Q4003689', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q298229 property:P103 ?y . ?y rdf:type ontology:Q34770 }
English
English is the mother tongue of that person
English
action filter_type
action find
entity Laurell K. Hamilton
relation native language
type language
['Narcissus in Chains', 'native language', {'concept': 'language'}] ['Flirt', 'native language', {'concept': 'language'}] ['A Kiss of Shadows', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Laurell_K._Hamilton property:native_language ?y . ?y rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q4924095
P1412
Q502895
USER
Does Blair Hartland used that language ?
(Q4924095,P1412,Q1860)
action is_in
entity Q4924095
action find
entity Q1860
relation P1412
['Q4924095', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q4924095 }
English Blair Hartland
action is_in
entity Blair Hartland
action find
entity English
relation languages spoken, written or signed
['Blair Hartland', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Blair_Hartland }
[]
common name
SYSTEM
NO
(Q4924095,P1412,Q1860)
action is_in
entity Q4924095
action find
entity Q1860
relation P1412
[ANSWER]
['Q4924095', 'P1412', 'Q1860']
ASK WHERE { resource:Q1860 property:P1412 resource:Q4924095 }
No
action is_in
entity Blair Hartland
action find
entity English
relation languages spoken, written or signed
['Blair Hartland', 'languages spoken, written or signed', 'English']
ASK WHERE { resource:English property:languages_spoken,_written_or_signed resource:Blair_Hartland }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P37
Q34770 Q7275
USER
Which states are known to have atmost 1 language as their official language ?
(c(Q7275),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q7275
type Q34770
value 1
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?c ) WHERE { ?m property:P37 ?r . ?m rdf:type ontology:Q7275 . ?r rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?c <= 1 ) }
action atmost
action find_tuple_counts
relation official language
type state
type language
value 1
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?c ) WHERE { ?m property:official_language ?r . ?m rdf:type ontology:state . ?r rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?c <= 1 ) }
[]
language state
Q33946 Q15180 Q26273
SYSTEM
Czechoslovakia, Soviet Union, Sint Maarten
Q2444884 Q2145397 Q8146595 Q105092 Q552157 Q6083755 Q4461035 Q33946 Q218023 Q1493843 Q271570 Q303421 Q1152445 Q1617495 Q36704 Q23541302 Q185488 Q3456417 Q25279 Q75613 Q1269234 Q10874967 Q15180 Q696908 Q550374 Q14934927 Q220167 Q330988 Q1322229 Q842091 Q877579 Q147909 Q76236 Q319881 Q1136259 Q953432 Q2353425 Q1709185 Q7251405 Q746443 Q1123960 Q112558 Q1142179 Q1423680 Q7382038 Q7318 Q729768 Q212056 Q1083009 Q940741 Q26988 Q21203 Q12490507 Q600018 Q107299 Q26273 Q551798 Q1029847 Q188586 Q1044668 Q204920 Q139319 Q1483430 Q11876909 Q150981 Q25227 Q1362278 Q623751 Q633573 Q744042
(c(Q7275),P37,c(Q34770))
action atmost
action find_tuple_counts
relation P37
type Q7275
type Q34770
value 1
[ANSWERS] are known to have atmost 1 language as their official language
[{'concept': 'Q7275'}, 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?c ) WHERE { ?m property:P37 ?r . ?m rdf:type ontology:Q7275 . ?r rdf:type ontology:Q34770 } GROUP BY ?m } . FILTER ( ?c <= 1 ) }
Tibet Goshen (South Africa) Upingtonia Kingdom of Mercia Nieuwe Republiek Islands of Refreshment Akkadian empire Czechoslovakia Orange Free State Klein Vrystaat Kingdom of Araucanía and Patagonia Kingdom of Galicia Aerican Empire Kingdom of Jaén Yugoslavia Kaluga Soviet Republic Volga Bulgaria Republic of Saint-Malo Curaçao Almoravid dynasty Stellaland People's Republic of Zhongtai Soviet Union Kingdom of Poland South African Republic Murrawarri Republic Lydenburg Republic Democratic Kampuchea Enlightenment in Spain Duchy of Normandy Kugelmugel Kingdom of Bulgaria Lithuanian–Belorussian Soviet Socialist Republic Republic of Taiwan Southwestern Somalia Couto Misto Talossa Kingdom of Spain under Joseph Bonaparte Protectorate of Peru Golden Ambrosian Republic Conch Republic Republic of Saugeais Orange River Colony Gay and Lesbian Kingdom of the Coral Sea Islands Imperial Throne Nazi Germany Zulu Kingdom Mongolian People's Republic Principality of Wy Republic of Hungary Cook Islands Aruba Rashidun Caliphate Kingdom of Hungary Kingdom of Northumbria Sint Maarten Grand Duchy of Flandrensis Natalia Republic Kingdom of Sicily Republic of Rose Island Crown of Aragon Russian Republic Principality of Kiev State of Brazil North German Confederation Netherlands Antilles United States of Stellaland Kingdom of Bernicia Kingdom of Rheged Grand Duchy of Avram
Czechoslovakia, Soviet Union and Sint Maarten are known to have atmost 1 language as their official language
Czechoslovakia Soviet Union Sint Maarten
action atmost
action find_tuple_counts
relation official language
type state
type language
value 1
[{'concept': 'state'}, 'official language', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?r ) AS ?c ) WHERE { ?m property:official_language ?r . ?m rdf:type ontology:state . ?r rdf:type ontology:language } GROUP BY ?m } . FILTER ( ?c <= 1 ) }
[]