Simple Question (Direct)
Simple Question
Q3069319
P39
Q12737077
USER
Which occupations were the positions for which Fernand Robichaud were appointed ?
(Q3069319,P39,c(Q12737077))
action filter_type
action find
entity Q3069319
relation P39
type Q12737077
['Q3069319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3069319 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation position held
type occupation
['Fernand Robichaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Fernand_Robichaud property:position_held ?q . ?q rdf:type ontology:occupation }
[]
occupation
Q15964890 Q18524027
SYSTEM
member of the House of Commons of Canada, Member of the Senate of Canada
Q15964890 Q18524027
(Q3069319,P39,c(Q12737077))
action filter_type
action find
entity Q3069319
relation P39
type Q12737077
As [ANSWERS] were the positions for which Fernand Robichaud were appointed
['Q3069319', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { resource:Q3069319 property:P39 ?q . ?q rdf:type ontology:Q12737077 }
member of the House of Commons of Canada Member of the Senate of Canada
As member of the House of Commons of Canada and Member of the Senate of Canada were the positions for which Fernand Robichaud were appointed
member of the House of Commons of Canada Member of the Senate of Canada
action filter_type
action find
entity Fernand Robichaud
relation position held
type occupation
['Fernand Robichaud', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { resource:Fernand_Robichaud property:position_held ?q . ?q rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3069319
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q15964890,P19,c(Q56061)) (Q18524027,P19,c(Q56061))
action filter_type
action find
entity Q3069319
relation P19
type Q56061
['Q15964890', 'P19', {'concept': 'Q56061'}] ['Q18524027', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3069319 property:P19 ?d }
Fernand Robichaud
action filter_type
action find
entity Fernand Robichaud
relation place of birth
type administrative territorial entity
['member of the House of Commons of Canada', 'place of birth', {'concept': 'administrative territorial entity'}] ['Member of the Senate of Canada', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Fernand_Robichaud property:place_of_birth ?d }
[]
administrative territorial entity
Q1006756
SYSTEM
Shippagan
Q1006756
(Q15964890,P19,c(Q56061)) (Q18524027,P19,c(Q56061))
action filter_type
action find
entity Q3069319
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q15964890', 'P19', {'concept': 'Q56061'}] ['Q18524027', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q56061 . resource:Q3069319 property:P19 ?d }
Shippagan
Shippagan is the birthplace of that person
Shippagan
action filter_type
action find
entity Fernand Robichaud
relation place of birth
type administrative territorial entity
['member of the House of Commons of Canada', 'place of birth', {'concept': 'administrative territorial entity'}] ['Member of the Senate of Canada', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:administrative_territorial_entity . resource:Fernand_Robichaud property:place_of_birth ?d }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1006756 Q4512526 Q16
P17
Q1048835
USER
Is that administrative territory present in Chervonyi Yar and Canada ?
(Q1006756,P17,Q4512526) (Q1006756,P17,Q16)
action is_in
entity Q1006756
action intersection
action find_reverse
entity Q4512526
relation P17
action find_reverse
entity Q16
relation P17
['Q1006756', 'P17', 'Q4512526'] ['Q1006756', 'P17', 'Q16']
ASK WHERE { resource:Q1006756 property:P17 resource:Q4512526 . resource:Q1006756 property:P17 resource:Q16 }
Shippagan Chervonyi Yar Canada
action is_in
entity Shippagan
action intersection
action find_reverse
entity Chervonyi Yar
relation country
action find_reverse
entity Canada
relation country
['Shippagan', 'country', 'Chervonyi Yar'] ['Shippagan', 'country', 'Canada']
ASK WHERE { resource:Shippagan property:country resource:Chervonyi_Yar . resource:Shippagan property:country resource:Canada }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q1006756,P17,Q4512526) (Q1006756,P17,Q16)
action is_in
entity Q1006756
action intersection
action find_reverse
entity Q4512526
relation P17
action find_reverse
entity Q16
relation P17
[ANSWER]
['Q1006756', 'P17', 'Q4512526'] ['Q1006756', 'P17', 'Q16']
ASK WHERE { resource:Q1006756 property:P17 resource:Q4512526 . resource:Q1006756 property:P17 resource:Q16 }
NO and YES respectively
action is_in
entity Shippagan
action intersection
action find_reverse
entity Chervonyi Yar
relation country
action find_reverse
entity Canada
relation country
['Shippagan', 'country', 'Chervonyi Yar'] ['Shippagan', 'country', 'Canada']
ASK WHERE { resource:Shippagan property:country resource:Chervonyi_Yar . resource:Shippagan property:country resource:Canada }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q751584
P532
Q56061 Q2235308
USER
Which ship types have their base port as around the same number of administrative territories as MS Express Samina ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q751584
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:P532 ?u . ?e rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q751584 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?o = ?m ) }
MS Express Samina
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MS Express Samina
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:port_of_registry ?u . ?e rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:MS_Express_Samina property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?o = ?m ) }
[]
administrative territorial entity ship type
Q35462 Q192381 Q983141
SYSTEM
RMS Aquitania, MS Oasis of the Seas, MY Sam Simon
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q751584
relation P532
type Q2235308
[ANSWERS] have their base port as around the same number of administrative territories as MS Express Samina
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:P532 ?u . ?e rdf:type ontology:Q2235308 . ?u rdf:type ontology:Q56061 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:Q751584 property:P532 ?k . ?k rdf:type ontology:Q2235308 } } . FILTER ( ?o = ?m ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation SS California Modern Express Djurgården 8 Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
RMS Aquitania, MS Oasis of the Seas and MY Sam Simon have their base port as around the same number of administrative territories as MS Express Samina
RMS Aquitania MS Oasis of the Seas MY Sam Simon
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity MS Express Samina
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?o ) WHERE { ?e property:port_of_registry ?u . ?e rdf:type ontology:ship_type . ?u rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?m ) WHERE { resource:MS_Express_Samina property:port_of_registry ?k . ?k rdf:type ontology:ship_type } } . FILTER ( ?o = ?m ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P138
Q2235308 Q874405
USER
Which ship types are the etymology of more number of social groups than that ship type ?
(c(Q874405),P138,c(Q2235308))
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q2235308 }
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { ?z property:named_after ?y . ?z rdf:type ontology:social_group . ?y rdf:type ontology:ship_type }
[]
ship type social group
Comparative|More/Less|Single entity type|Clarification
Q983141
SYSTEM
Did you mean MY Sam Simon ?
(c(Q874405),P138,c(Q2235308))
[ANSWER]
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q2235308 }
Did you mean MY Sam Simon ?
MY Sam Simon
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { ?z property:named_after ?y . ?z rdf:type ontology:social_group . ?y rdf:type ontology:ship_type }
[]
Comparative Reasoning (All)
USER
No, I meant MS Oasis of the Seas. Could you tell me the answer for that?
(c(Q874405),P138,c(Q2235308))
Q192381
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
[]
Q7024076
SYSTEM
Niantic
Q7024076
(c(Q874405),P138,c(Q2235308))
[ANSWER] is the etymology of more number of social groups than that ship type
[{'concept': 'Q874405'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { ?z property:P138 ?y . ?z rdf:type ontology:Q874405 . ?y rdf:type ontology:Q2235308 }
Niantic
Niantic is the etymology of more number of social groups than that ship type
Niantic
[{'concept': 'social group'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { ?z property:named_after ?y . ?z rdf:type ontology:social_group . ?y rdf:type ontology:ship_type }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q7024076 Q190221 Q30
P17
Q15617994
USER
Is that ship type located in Auditore and United States of America ?
(Q7024076,P17,Q190221) (Q7024076,P17,Q30)
action is_in
entity Q7024076
action intersection
action find_reverse
entity Q190221
relation P17
action find_reverse
entity Q30
relation P17
['Q7024076', 'P17', 'Q190221'] ['Q7024076', 'P17', 'Q30']
ASK WHERE { resource:Q7024076 property:P17 resource:Q30 . resource:Q7024076 property:P17 resource:Q190221 }
Niantic Auditore United States of America
action is_in
entity Niantic
action intersection
action find_reverse
entity Auditore
relation country
action find_reverse
entity United States of America
relation country
['Niantic', 'country', 'Auditore'] ['Niantic', 'country', 'United States of America']
ASK WHERE { resource:Niantic property:country resource:United_States_of_America . resource:Niantic property:country resource:Auditore }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7024076,P17,Q190221) (Q7024076,P17,Q30)
action is_in
entity Q7024076
action intersection
action find_reverse
entity Q190221
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q7024076', 'P17', 'Q190221'] ['Q7024076', 'P17', 'Q30']
ASK WHERE { resource:Q7024076 property:P17 resource:Q30 . resource:Q7024076 property:P17 resource:Q190221 }
NO and YES respectively
action is_in
entity Niantic
action intersection
action find_reverse
entity Auditore
relation country
action find_reverse
entity United States of America
relation country
['Niantic', 'country', 'Auditore'] ['Niantic', 'country', 'United States of America']
ASK WHERE { resource:Niantic property:country resource:United_States_of_America . resource:Niantic property:country resource:Auditore }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P138
Q2235308 Q2088357
USER
How many musical ensembles are the eponym of atleast 1 ship type ?
(c(Q2088357),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q2088357
type Q2235308
value 1
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:P138 ?q . ?q rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q2088357 } GROUP BY ?n } . FILTER ( ?y >= 1 ) }
action count
action atleast
action find_tuple_counts
relation named after
type musical ensemble
type ship type
value 1
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:named_after ?q . ?q rdf:type ontology:ship_type . ?n rdf:type ontology:musical_ensemble } GROUP BY ?n } . FILTER ( ?y >= 1 ) }
[]
ship type musical ensemble
SYSTEM
1
Q13533344
(c(Q2088357),P138,c(Q2235308))
action count
action atleast
action find_tuple_counts
relation P138
type Q2088357
type Q2235308
value 1
[ANSWER]
[{'concept': 'Q2088357'}, 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:P138 ?q . ?q rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q2088357 } GROUP BY ?n } . FILTER ( ?y >= 1 ) }
Arktika
1
action count
action atleast
action find_tuple_counts
relation named after
type musical ensemble
type ship type
value 1
[{'concept': 'musical ensemble'}, 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?y ) WHERE { ?n property:named_after ?q . ?q rdf:type ontology:ship_type . ?n rdf:type ontology:musical_ensemble } GROUP BY ?n } . FILTER ( ?y >= 1 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1431014 Q983141
P17
Q15617994
USER
Which administrative territories do MY Sam Simon or National Ignition Facility belong to ?
OR((Q983141,P17,c(Q15617994)), (Q1431014,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q983141
relation P17
action find
entity Q1431014
relation P17
type Q15617994
{'OR': [['Q983141', 'P17', {'concept': 'Q15617994'}], ['Q1431014', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q983141 property:P17 ?w } UNION { resource:Q1431014 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
National Ignition Facility MY Sam Simon
action filter_type
action union
action find
entity MY Sam Simon
relation country
action find
entity National Ignition Facility
relation country
type designation for an administrative territorial entity
{'OR': [['MY Sam Simon', 'country', {'concept': 'designation for an administrative territorial entity'}], ['National Ignition Facility', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:MY_Sam_Simon property:country ?w } UNION { resource:National_Ignition_Facility property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q983141,P17,c(Q15617994)), (Q1431014,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q983141
relation P17
action find
entity Q1431014
relation P17
type Q15617994
MY Sam Simon or National Ignition Facility belong to the [ANSWER]
{'OR': [['Q983141', 'P17', {'concept': 'Q15617994'}], ['Q1431014', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q983141 property:P17 ?w } UNION { resource:Q1431014 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America
MY Sam Simon or National Ignition Facility belong to the United States of America
United States of America
action filter_type
action union
action find
entity MY Sam Simon
relation country
action find
entity National Ignition Facility
relation country
type designation for an administrative territorial entity
{'OR': [['MY Sam Simon', 'country', {'concept': 'designation for an administrative territorial entity'}], ['National Ignition Facility', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:MY_Sam_Simon property:country ?w } UNION { resource:National_Ignition_Facility property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q7562511
P17
Q43229
USER
Is Sony Pictures Mobile located in that administrative territory ?
(Q7562511,P17,Q30)
action is_in
entity Q30
action find
entity Q7562511
relation P17
['Q7562511', 'P17', 'Q30']
ASK WHERE { resource:Q7562511 property:P17 resource:Q30 }
United States of America Sony Pictures Mobile
action is_in
entity United States of America
action find
entity Sony Pictures Mobile
relation country
['Sony Pictures Mobile', 'country', 'United States of America']
ASK WHERE { resource:Sony_Pictures_Mobile property:country resource:United_States_of_America }
[]
organization
SYSTEM
YES
(Q7562511,P17,Q30)
action is_in
entity Q30
action find
entity Q7562511
relation P17
[ANSWER]
['Q7562511', 'P17', 'Q30']
ASK WHERE { resource:Q7562511 property:P17 resource:Q30 }
Yes
action is_in
entity United States of America
action find
entity Sony Pictures Mobile
relation country
['Sony Pictures Mobile', 'country', 'United States of America']
ASK WHERE { resource:Sony_Pictures_Mobile property:country resource:United_States_of_America }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6917691 Q1431014
P17
Q15617994
USER
Which administrative territories are National Ignition Facility or Motihari located in ?
OR((Q1431014,P17,c(Q15617994)), (Q6917691,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1431014
relation P17
action find
entity Q6917691
relation P17
type Q15617994
{'OR': [['Q1431014', 'P17', {'concept': 'Q15617994'}], ['Q6917691', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6917691 property:P17 ?c } UNION { resource:Q1431014 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
Motihari National Ignition Facility
action filter_type
action union
action find
entity National Ignition Facility
relation country
action find
entity Motihari
relation country
type designation for an administrative territorial entity
{'OR': [['National Ignition Facility', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Motihari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Motihari property:country ?c } UNION { resource:National_Ignition_Facility property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q668
SYSTEM
United States of America, India
Q30 Q668
OR((Q1431014,P17,c(Q15617994)), (Q6917691,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q1431014
relation P17
action find
entity Q6917691
relation P17
type Q15617994
National Ignition Facility or Motihari are located in [ANSWERS]
{'OR': [['Q1431014', 'P17', {'concept': 'Q15617994'}], ['Q6917691', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q6917691 property:P17 ?c } UNION { resource:Q1431014 property:P17 ?c } } . ?c rdf:type ontology:Q15617994 }
United States of America India
National Ignition Facility or Motihari are located in United States of America and India
United States of America India
action filter_type
action union
action find
entity National Ignition Facility
relation country
action find
entity Motihari
relation country
type designation for an administrative territorial entity
{'OR': [['National Ignition Facility', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Motihari', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Motihari property:country ?c } UNION { resource:National_Ignition_Facility property:country ?c } } . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1001
Q15617994 Q11204 Q192350
USER
Which administrative territories apply to jurisdiction of max number of legislatures or ministries ?
(c(Q11204)|c(Q192350),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
[[{'concept': 'Q11204'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q11204 } UNION { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q192350 . ?d property:P1001 ?o } } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q192350 ) } } GROUP BY ?h } . FILTER ( ?a = ?k ) }
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
[[{'concept': 'legislature'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:legislature } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:ministry . ?d property:applies_to_jurisdiction ?o } } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:legislature ) ( ontology:ministry ) } } GROUP BY ?h } . FILTER ( ?a = ?k ) }
[]
designation for an administrative territorial entity legislature ministry
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
(c(Q11204)|c(Q192350),P1001,c(Q15617994))
action argmax
action union
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q11204
action find_reverse_tuple_counts
relation P1001
type Q15617994
type Q192350
[ANSWERS] apply to jurisdiction of max number of legislatures or ministries
[[{'concept': 'Q11204'}, {'concept': 'Q192350'}], 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:P1001 ?o . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q11204 } UNION { ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q192350 . ?d property:P1001 ?o } } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:Q11204 ) ( ontology:Q192350 ) } } GROUP BY ?h } . FILTER ( ?a = ?k ) }
United States of America Sweden
United States of America and Sweden apply to jurisdiction of max number of legislatures or ministries
United States of America Sweden
action argmax
action union
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type legislature
action find_reverse_tuple_counts
relation applies to jurisdiction
type designation for an administrative territorial entity
type ministry
[[{'concept': 'legislature'}, {'concept': 'ministry'}], 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?t ) AS ?k ) { SELECT DISTINCT ?o ( COUNT ( ?d ) AS ?t ) WHERE { { ?d property:applies_to_jurisdiction ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:legislature } UNION { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:ministry . ?d property:applies_to_jurisdiction ?o } } GROUP BY ?o } } . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?a ) WHERE { ?r rdf:type ?c . VALUES ( ?c ) { ( ontology:legislature ) ( ontology:ministry ) } } GROUP BY ?h } . FILTER ( ?a = ?k ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q30 Q34
P17
Q12737077
USER
Which occupations are located in United States of America and Sweden ?
(c(Q12737077),P17,Q30) (c(Q12737077),P17,Q34)
action union
action filter_type
action find_reverse
entity Q30
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q34
relation P17
type Q12737077
[{'concept': 'Q12737077'}, 'P17', 'Q30'] [{'concept': 'Q12737077'}, 'P17', 'Q34']
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q30 ) ( resource:Q34 ) } . ?u property:P17 ?k }
United States of America Sweden
action union
action filter_type
action find_reverse
entity United States of America
relation country
type occupation
action filter_type
action find_reverse
entity Sweden
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'United States of America'] [{'concept': 'occupation'}, 'country', 'Sweden']
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:United_States_of_America ) ( resource:Sweden ) } . ?u property:country ?k }
[]
occupation
Q3315958 Q687075 Q1749063
SYSTEM
Minister for Justice, Prime Minister of Sweden, Minister for Foreign Affairs of Sweden
Q7574303 Q7574307 Q912994 Q19360415 Q25350137 Q27656 Q17089716 Q5589688 Q5589687 Q5589680 Q5589682 Q3506352 Q21361754 Q18180908 Q21364537 Q4809005 Q732029 Q18810381 Q20064926 Q456951 Q7013416 Q5253588 Q880198 Q17505193 Q4809018 Q20804520 Q18538054 Q7013201 Q1763459 Q5021095 Q5021097 Q1753094 Q931202 Q5073203 Q4809020 Q261746 Q19397347 Q7054613 Q7444387 Q3112728 Q20804530 Q20804538 Q20064517 Q21451758 Q21856559 Q1006696 Q18341783 Q6814783 Q19420755 Q19264592 Q5588835 Q16147532 Q5152166 Q887117 Q19362907 Q19681513 Q3773745 Q3773741 Q4676866 Q2305968 Q6023523 Q20948752 Q19727887 Q7082375 Q3773752 Q7101370 Q5589725 Q5589724 Q7014718 Q7082337 Q878632 Q22338864 Q16148274 Q7574263 Q20064986 Q20064988 Q17089908 Q18091440 Q18655026 Q17495450 Q6837452 Q5589655 Q20065663 Q7082317 Q7082312 Q7082313 Q7082311 Q7241398 Q22975465 Q20066337 Q2626318 Q21349507 Q1029955 Q7082303 Q7082304 Q7082306 Q7082308 Q6879059 Q7013282 Q17560742 Q7163643 Q6797755 Q22001405 Q20065395 Q7444404 Q16148056 Q5096742 Q7643465 Q21968133 Q11722685 Q6981815 Q20853586 Q13217683 Q20766109 Q21360913 Q2550683 Q7836756 Q11722691 Q783785 Q20804488 Q20765611 Q27841906 Q1057168 Q4809007 Q18534307 Q18195558 Q845950 Q18675883 Q6544442 Q6544443 Q6544440 Q17484018 Q21968144 Q21968143 Q2521897 Q18604340 Q735015 Q18342769 Q27841920 Q7889560 Q7889561 Q7889562 Q7889563 Q7889564 Q7889565 Q7889566 Q7889567 Q7889568 Q7302901 Q6682001 Q5152203 Q17602055 Q14568260 Q21365323 Q6544426 Q6544423 Q19831739 Q16149111 Q18654736 Q7444414 Q18694588 Q6544436 Q7444418 Q17546641 Q1586403 Q18390053 Q2529166 Q6544406 Q21368444 Q7889558 Q7889551 Q7889553 Q7889552 Q7889555 Q7889554 Q5152818 Q6023060 Q6544413 Q17502533 Q179261 Q7603593 Q7603595 Q7603597 Q5157197 Q18526160 Q1532983 Q1853534 Q17109420 Q16191529 Q4791868 Q7164215 Q4998641 Q238994 Q5280579 Q4791871 Q21704183 Q14616716 Q7836752 Q7603902 Q7921779 Q2347975 Q6302475 Q1145033 Q7024182 Q19961062 Q8350359 Q777288 Q639115 Q588662 Q7603534 Q18089655 Q2483184 Q3406489 Q20064489 Q5164580 Q19689081 Q5150451 Q7054588 Q4215834 Q13218630 Q7101039 Q20192407 Q6123144 Q7890793 Q6392398 Q4808967 Q18199902 Q7444394 Q7444395 Q18131809 Q288316 Q1274366 Q7444389 Q7444388 Q7444381 Q7444380 Q7444386 Q7444385 Q5261013 Q18342844 Q17631457 Q3541365 Q868353 Q17496847 Q21968135 Q2655853 Q7708094 Q6797722 Q7889276 Q5168039 Q16155293 Q17598395 Q19772501 Q20065429 Q17091200 Q2287650 Q1402980 Q785304 Q18565274 Q5261055 Q17485005 Q929060 Q6364995 Q25016248 Q652680 Q4818633 Q1660669 Q913797 Q20065408 Q20065405 Q14916519 Q6544428 Q878260 Q4818646 Q20065418 Q17486706 Q5442984 Q19385767 Q21968139 Q18648747 Q7315069 Q642859 Q20644070 Q19476345 Q17090715 Q846307 Q19394559 Q5164577 Q17486298 Q21366730 Q16147601 Q7080958 Q18604553 Q3477292 Q15623718 Q1658460 Q15726790 Q7444392 Q967762 Q1296423 Q7054450 Q3112719 Q20765963 Q18707052 Q12061506 Q7444359 Q5021015 Q7574261 Q7603594 Q2419102 Q21360107 Q6797653 Q967750 Q17342542 Q3112727 Q21816286 Q18341124 Q16197533 Q17487661 Q7444371 Q7444376 Q7444377 Q7444374 Q7444375 Q7444379 Q17091482 Q2094335 Q967737 Q17355090 Q7444365 Q7444364 Q7444367 Q7444366 Q7444360 Q7444369 Q7444368 Q21363942 Q19360976 Q15987267 Q25349730 Q1591470 Q19754409 Q6365077 Q18190880 Q19690441 Q18442278 Q6542448 Q17031696 Q7453413 Q19798595 Q16202700 Q7646186 Q1029968 Q18763331 Q19319643 Q887090 Q586959 Q19693389 Q5096881 Q2306431 Q4708496 Q18536527 Q18691526 Q878942 Q1414246 Q20658713 Q16973531 Q20058778 Q1355859 Q4151335 Q1538949 Q693032 Q1853559 Q20899108 Q730465 Q17059070 Q7889557 Q6364574 Q17548315 Q6784375 Q1853541 Q1853540 Q1853549 Q6868556 Q20801667 Q21467319 Q940135 Q1853553 Q7883151 Q7883156 Q7883154 Q22570417 Q18925362 Q17487134 Q20065966 Q1115127 Q6023414 Q22306562 Q20801647 Q20801646 Q20801644 Q21367377 Q2301213 Q22910280 Q1154057 Q7883170 Q19617175 Q887220 Q20801656 Q20801651 Q20801652 Q20801659 Q653368 Q7269318 Q5589668 Q19689183 Q7241341 Q7444393 Q7444415 Q20198851 Q887010 Q5148956 Q15906842 Q383699 Q1853527 Q1853520 Q7889749 Q18676729 Q20065565 Q5161623 Q18713970 Q17110468 Q7889756 Q636207 Q20801664 Q2003296 Q25930842 Q7314581 Q1760078 Q16948016 Q21362489 Q20066070 Q7892254 Q558677 Q19360961 Q1051088 Q20058776 Q20058770 Q2419581 Q7444382 Q3238288 Q3238284 Q20058764 Q7574310 Q7574311 Q19647220 Q20058759 Q20058751 Q10686169 Q18176984 Q10686247 Q10686263 Q1850749 Q6865890 Q3612254 Q10686216 Q6865835 Q10686220 Q10686194 Q10670469 Q19788990 Q1749063 Q687075 Q6865858 Q25916667 Q10686038 Q10686041 Q4346906 Q13409304 Q920108 Q3315958 Q6508565 Q10655178
(c(Q12737077),P17,Q30) (c(Q12737077),P17,Q34)
action union
action filter_type
action find_reverse
entity Q30
relation P17
type Q12737077
action filter_type
action find_reverse
entity Q34
relation P17
type Q12737077
Are [ANSWERS] are located in United States of America and Sweden
[{'concept': 'Q12737077'}, 'P17', 'Q30'] [{'concept': 'Q12737077'}, 'P17', 'Q34']
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:Q30 ) ( resource:Q34 ) } . ?u property:P17 ?k }
Speaker of the North Carolina House of Representatives Speaker of the Pennsylvania House of Representatives speaker of the United States House of Representatives member of the Oregon House of Representatives mayor of San Antonio Director of the Central Intelligence Agency Secretary of State of Arkansas Governor of Nebraska Governor of New Hampshire Governor of Michigan Governor of Minnesota Governor of Maine member of the State Senate of Arkansas member of the California State Assembly member of the State Senate of Missouri Assistant Secretary of State for International Narcotics and Law Enforcement Affairs Counselor to the President member of the Utah House of Representatives member of the State Senate of Maryland Governor of Puerto Rico New York County District Attorney delegate Governor of Georgia member of the Minnesota House of Representatives Assistant Secretary of State for South and Central Asian Affairs Governor of the United States Virgin Islands member of the Tennessee House of Representatives New York City Fire Commissioner Chairman of the Joint Chiefs of Staff California State Superintendent of Public Instruction California State Treasurer United States Postmaster General Lieutenant Governor of Virginia Chaplain of the United States House of Representatives Assistant Secretary of State for Verification, Compliance, and Implementation United States Secretary of the Air Force member of the State Senate of Rhode Island North Carolina State Treasurer Secretary of State of South Carolina Governor of New Jersey Governor of American Samoa Governor of the Northern Mariana Islands member of the State Senate of Nevada Mayor of Oklahoma City Coroner of New York City United States federal judge Member of the Wyoming House of Representatives member of the State Senate of South Dakota Member of the Legislature of Guam member of the State Senate of New Hampshire Government Flight Representative New York State Comptroller Commander, U.S. Pacific Fleet Governor of Massachusetts member of the State Senate of Indiana Member of the Arkansas House of Representatives Governor of Vermont Governor of North Dakota acting governor United States Secretary of Health and Human Services Indiana State Treasurer Lieutenant Governor of the State of Connecticut member of the State Senate of North Carolina Oklahoma State Treasurer Governor of South Carolina Oregon State Treasurer Governor of Texas Governor of Tennessee New York State Treasurer Oklahoma State Auditor and Inspector Governor of Mississippi Sheriff of Richmond County, New York State constitutional officer Speaker of the Hawaii House of Representatives member of the Maryland House of Delegates member of the Nebraska House of Representatives Governor of New Mexico member of the State Senate of Louisiana member of the State Senate of Idaho member of the Illinois House of Representatives Michigan Attorney General Governor of Hawaii member of the State Senate of Georgia Oklahoma Secretary of Transportation Oklahoma Secretary of Human Services Oklahoma Secretary of Science and Technology Oklahoma Secretary of Human Resources and Administration President pro tempore of the Vermont State Senate Mayor of Burlington, Vermont member of the State Senate of Puerto Rico Governor of South Dakota Washington DC Recorder of Deeds United States Secretary of Agriculture Oklahoma Secretary of Agriculture Oklahoma Secretary of Commerce and Tourism Oklahoma Secretary of Finance and Revenue Oklahoma Secretary of Health and Human Services Mississippi Attorney General New York City Public Advocate Maine State Treasurer Pennsylvania Attorney General Mayor of Maui Mayor of Salt Lake City, Utah member of the State Senate of Nebraska Secretary of Treasury of Puerto Rico Secretary of State of New York Chief Financial Officer of Florida Superintendent of Finance of the United States Coroner of New York County, New York Mayor of Bridgeport, Connecticut naval flight officer Delegate of the Virgin Islands to the United States House of Representatives United States Senator Governor of Louisiana member of the State Senate of Arizona Governor of Oklahoma Treasurer of Maryland Mayor of Honolulu Chief of Staff of the United States Army Governor of Guam Governor of Rhode Island Attorney General of Louisiana Director of the Federal Bureau of Investigation Assistant Secretary of State for International Security and Nonproliferation member of the State Senate of Tennessee member of the State Senate of Mississippi Lieutenant Governor of Alabama member of the State Senate of Michigan Lieutenant Governor of the Northern Mariana Islands Lieutenant Governor of the United States Virgin Islands Lieutenant Governor of Wisconsin member of the Vermont House of Representatives Coroner of Kings County, New York Coroner of Richmond County, New York Vice Chief of Staff of the United States Air Force member of the State Senate of Virginia United States Secretary of Defense member of the State Senate of Maine Attorney General of Wisconsin United States Attorney for the Northern District of California United States Attorney for the Northern District of Indiana United States Attorney for the Northern District of New York United States Attorney for the Southern District of California United States Attorney for the Southern District of Florida United States Attorney for the Southern District of Iowa United States Attorney for the Western District of New York United States Attorney for the Southern District of New York United States Attorney for the Western District of Oklahoma Recorder of New York City Los Angeles City Attorney Commander Strike Force Training Atlantic member of the State Senate of Wisconsin New York City Comptroller member of the State Senate of Montana Lieutenant Governor of New Jersey Lieutenant Governor of Mississippi member of the State Senate of Connecticut Governor of Oregon member of the Michigan House of Representatives Secretary of the Commonwealth of Pennsylvania Member of the United States House of Representatives from Virginia Lieutenant Governor of Tennessee Secretary of the District of Columbia Member of the Idaho House of Representatives Lieutenant Governor of Michigan Member of the United States Securities and Exchange Commission lieutenant governor Lieutenant Governor of American Samoa member of the State Senate of West Virginia United States Attorney for the Eastern District of New York United States Attorney for the District of Hawaii United States Attorney for the District of Maryland United States Attorney for the District of Columbia United States Attorney for the District of New York United States Attorney for the District of New Jersey Commissioner of Education of the State of New York Indiana Attorney General Lieutenant Governor of Guam member of the Ohio House of Representatives Lieutenant Governor of Colorado State Treasurer of Arizona State Treasurer of Missouri State Treasurer of Mississippi Comptroller of Maryland member of the Wisconsin State Assembly Lieutenant Governor of Kentucky Lieutenant Governor of Montana Historian of the United States House of Representatives Lieutenant Governor of Nevada Arkansas State Auditor Pennsylvania Treasurer Mayor of Jersey City, New Jersey Lieutenant Governor of New Mexico Director of the United States Mint Arkansas State Treasurer Mayor of Detroit, Michigan member of the Pennsylvania House of Representatives Treasurer and Receiver-General of Massachusetts state treasurer Vermont State Treasurer Governor of New York Judge Advocate General of the United States Army Under Secretary of State Secretary of State of California member of the State Senate of Florida Texas Comptroller of Public Accounts Governor of Arizona Lieutenant Governor of Texas Soda jerk state senator Member of the North Carolina House of Representatives High Commissioner to the Philippines California Attorney General member of the State Senate of Colorado Consulate General of the United States, Mumbai President of the Morgan State University ComSubPac North Carolina Secretary of State United States Secretary of the Treasury United States representative Oregon Attorney General Mayor of Baltimore Secretary of State of Puerto Rico United States Naval Aviator Kentucky State Treasurer Assistant Secretary for Arms Control, Verification, and Compliance member of the State Senate of Pennsylvania Secretary of State of Wisconsin Secretary of State of Wyoming Member of the Missouri House of Representatives Lieutenant Governor of Indiana Lieutenant Governor of Massachusetts Secretary of State of Vermont Secretary of State of Texas Secretary of State of Nevada Secretary of State of New Jersey Secretary of State of South Dakota Secretary of State of Rhode Island Deputy Chief of Chaplains of the United States Army Member of the Florida House of Representatives Member of the New Mexico House of Representatives Illinois Treasurer Governor of Colorado Member of the Montana House of Representatives Coroner of Bronx County, New York special agent Texas State Treasurer Mayor of Hoboken United States Ambassador to Cameroon Coordinator for Counterterrorism United States Attorney for the Middle District of Florida member of the Washington House of Representatives Member of the West Virginia House of Delegates member of the State Senate of Ohio California Reporter of Decisions United States Secretary of the Interior Lieutenant Governor of Pennsylvania Mayor of New York City member of the State Senate of Texas Deputy National Security Advisor member of the Colorado House of Representatives Lieutenant Governor of Idaho Kansas Insurance Commissioner Mayor of Cincinnati Sergeant at Arms of the United States Senate Attorney General of Georgia Lieutenant Governor of Ohio Lieutenant Governor of Florida member of the Virginia House of Delegates member of the State Senate of Washington Mayor of Detroit Lieutenant Governor of New York Governor of Idaho Attorney General of Oklahoma member of the State Senate of Vermont member of the Iowa House of Representatives Fence Viewer member of the State Senate of New Jersey Coroner of Queens County, New York Member of the Alabama House of Representatives Research Chair in Naval History United States Secretary of Homeland Security Governor of Ohio mayor of Charleston New Mexico State Treasurer Lieutenant Governor of Georgia member of the State Senate of Wyoming Consulate General of the United States, Kolkata Member of the Arizona House of Representatives member of the State Senate of North Dakota Governor of Indiana Ohio State Treasurer member of the Texas House of Representatives Illinois Secretary of State Administrator of the Small Business Administration United States Secretary of Veterans Affairs United States ambassador Secretary of State of Washington United States Secretary of Education White House Counsel North Carolina Commissioner of Agriculture Governor of Illinois Governor of Arkansas member of the State Senate of Iowa Massachusetts Secretary of the Commonwealth Secretary of State of Alabama California State Controller Speaker of the Florida House of Representatives State Treasurer of Michigan United States Secretary of War member of the State Senate of Alaska Mayor of Ashland, Kentucky United States Secretary of Labor Member of the Massachusetts House of Representatives Governor of Wisconsin Sheriff of Kings County, New York member of the Nevada Assembly Secretary of State of Montana Member of the Mississippi House of Representatives Secretary of State of Kansas Secretary of State of Maryland Secretary of State of Mississippi Secretary of State of Louisiana Secretary of State of Maine Secretary of State of Nebraska Secretary of State of Kentucky United States Attorney United States Secretary of Transportation member of the Louisiana House of Representatives Secretary of State of Delaware Secretary of State of Colorado Secretary of State of Georgia Secretary of State of Florida Secretary of State of Arizona Secretary of State of Indiana Secretary of State of Idaho member of the State Senate of Minnesota member of the South Dakota House of Representatives State's Attorney Mayor of Richmond United States Secretary of the Army member of the South Carolina House of Representatives Kansas State Treasurer member of the Indiana House of Representatives member of the State Senate of California Mayor of Thomasville Librarian of Congress Lieutenant Governor of Delaware Sergeant at Arms of the United States House of Representatives Mayor of Tampa Governor of North Carolina Surgeon General of the United States Air Force United States Secretary of Energy member of the Connecticut House of Representatives Member of the Hawaii House of Representatives Governor of Connecticut NHL Commissioner Justice of the Louisiana Supreme Court Chief Performance Officer of the United States White House Press Secretary Alaska Attorney General member of the New Jersey General Assembly member of the State Senate of New York Governor of Virginia National Security Advisor member of the State Senate of Massachusetts United States Deputy Secretary of Energy member of the State Senate of Illinois Vice Chief of Staff of the United States Army Governor of Kentucky Lieutenant Governor of North Carolina Governor of Maryland Lieutenant Governor of Washington First Spouse of Maryland Director of Policy Planning Lieutenant Governor of North Dakota United States Attorney for the Eastern District of Tennessee Kansas Attorney General member of the Georgia House of Representatives Massachusetts State Auditor Lieutenant Governor of Oklahoma Lieutenant governor of North Dakota Lieutenant Governor of South Dakota Minnesota State Treasurer Governor of Missouri Mayor of Minneapolis United States Secretary of the Navy Lieutenant Governor of Utah Under Secretary of Agriculture for Natural Resources and Environment Under Secretary of Commerce for Industry and Security Under Secretary of Agriculture for Rural Development President of the Amateur Athletic Union Member of the Oklahoma House of Representatives Member of the Kansas House of Representatives member of the Kentucky House of Representatives Commanding General of the United States Army Indiana State Auditor Adjutant General of New York Governor of Wyoming Governor of Montana Governor of Alaska member of the State Senate of Oklahoma United States Deputy Secretary of State Mayor of Aberdeen, New Jersey Director of National Intelligence Under Secretary of Energy for Science member of the State Senate of Kansas Governor of Utah Governor of Delaware Governor of Nevada Governor of West Virginia Governor of Pennsylvania district attorney Quartermaster General of the United States Army Governor of Kansas member of the State Senate of Oregon President of the Massachusetts Senate Secretary of State of West Virginia Secretary of the Commonwealth of Virginia Governor of Florida Governor of California Colorado State Treasurer filibuster Lieutenant Governor of Maryland Lieutenant Governor of Kansas Lieutenant Governor of Iowa United States Deputy Secretary of Commerce member of the State Senate of South Carolina member of the State Senate of Utah Connecticut State Treasurer member of the Maine House of Representatives Michigan Solicitor General United States Deputy Secretary of the Interior United States Attorney General Governor of Iowa United States Secretary of Commerce Mayor of Hoboken, New Jersey Republican Conference Chairman of the United States House of Representatives Mayor of Chicago Nevada State Treasurer member of the State Senate of Delaware member of the State Senate of Kentucky United States Under Secretary of the Army Governor of Alabama Member of the North Dakota House of Representatives Commissioner of Baseball state senator of Massachusetts member of the New York State Assembly United States Secretary of Housing and Urban Development Secretary of State of New Mexico Lieutenant Governor of Illinois Lieutenant Governor of California member of the State Senate of Alabama Speaker of the Texas House of Representatives Speaker of the Vermont House of Representatives Governor of Washington member  of the Rhode Island House of Representatives member of the State Senate of Hawaii Minister for Communications and Regional Policy Minister for Culture Minister for Health and Social Affairs Minister for Education and Science Speaker of the Parliament of Sweden Minister for Integration Minister for Energy Minister for the Environment Minister for Finance Minister for Enterprise Minister for Agriculture, Food and Fisheries Minister of Education professor in Sweden Minister for Foreign Affairs of Sweden Prime Minister of Sweden Minister for Gender Equality Affairs Cominister of Ytterlännäs Minister for International Development Cooperation Minister for Housing Lord High Constable of Sweden Statsminister Minister for Defence Minister for Justice Leader of the Opposition Member of the Riksdag
Are Minister for Justice, Prime Minister of Sweden and Minister for Foreign Affairs of Sweden are located in United States of America and Sweden
Minister for Justice Prime Minister of Sweden Minister for Foreign Affairs of Sweden
action union
action filter_type
action find_reverse
entity United States of America
relation country
type occupation
action filter_type
action find_reverse
entity Sweden
relation country
type occupation
[{'concept': 'occupation'}, 'country', 'United States of America'] [{'concept': 'occupation'}, 'country', 'Sweden']
SELECT DISTINCT ?u WHERE { VALUES ( ?k ) { ( resource:United_States_of_America ) ( resource:Sweden ) } . ?u property:country ?k }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3315958 Q687075 Q1749063
P17
Q15617994
USER
Which administrative territories are Minister for Justice, Prime Minister of Sweden and Minister for Foreign Affairs of Sweden situated in ?
(Q3315958,P17,c(Q15617994)) (Q687075,P17,c(Q15617994)) (Q1749063,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3315958
relation P17
type Q15617994
action filter_type
action find
entity Q687075
relation P17
type Q15617994
action filter_type
action find
entity Q1749063
relation P17
type Q15617994
['Q3315958', 'P17', {'concept': 'Q15617994'}] ['Q687075', 'P17', {'concept': 'Q15617994'}] ['Q1749063', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q3315958 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q687075 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Minister for Justice Prime Minister of Sweden Minister for Foreign Affairs of Sweden
action union
action filter_type
action find
entity Minister for Justice
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Sweden
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister for Foreign Affairs of Sweden
relation country
type designation for an administrative territorial entity
['Minister for Justice', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Foreign Affairs of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Minister_for_Justice property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Prime_Minister_of_Sweden property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q34 Q34 Q34
SYSTEM
Sweden
Q34 Q34 Q34
(Q3315958,P17,c(Q15617994)) (Q687075,P17,c(Q15617994)) (Q1749063,P17,c(Q15617994))
action union
action filter_type
action find
entity Q3315958
relation P17
type Q15617994
action filter_type
action find
entity Q687075
relation P17
type Q15617994
action filter_type
action find
entity Q1749063
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are Minister for Justice, Prime Minister of [ANSWER] and Minister for Foreign Affairs of [ANSWER] situated in
['Q3315958', 'P17', {'concept': 'Q15617994'}] ['Q687075', 'P17', {'concept': 'Q15617994'}] ['Q1749063', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { resource:Q3315958 property:P17 ?p . ?p rdf:type ontology:Q15617994 } UNION { resource:Q687075 property:P17 ?p . ?p rdf:type ontology:Q15617994 } }
Sweden Sweden Sweden
Sweden, Sweden and Sweden are Minister for Justice, Prime Minister of Sweden and Minister for Foreign Affairs of Sweden situated in
Sweden Sweden Sweden
action union
action filter_type
action find
entity Minister for Justice
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Prime Minister of Sweden
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Minister for Foreign Affairs of Sweden
relation country
type designation for an administrative territorial entity
['Minister for Justice', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Prime Minister of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Minister for Foreign Affairs of Sweden', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { resource:Minister_for_Justice property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Prime_Minister_of_Sweden property:country ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]