Simple Question (Direct)
Simple Question
Q492353
P54
Q12973014
USER
Which sports teams are Horacio Ramírez a member of ?
(Q492353,P54,c(Q12973014))
action filter_type
action find
entity Q492353
relation P54
type Q12973014
['Q492353', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q492353 property:P54 ?c }
Horacio Ramírez
action filter_type
action find
entity Horacio Ramírez
relation member of sports team
type sports team
['Horacio Ramírez', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Horacio_Ramírez property:member_of_sports_team ?c }
[]
sports team
Q461595 Q466586 Q335169
SYSTEM
Atlanta Braves, Seattle Mariners, Chicago White Sox
Q461595 Q466586 Q335169
(Q492353,P54,c(Q12973014))
action filter_type
action find
entity Q492353
relation P54
type Q12973014
[ANSWERS]
['Q492353', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q492353 property:P54 ?c }
Atlanta Braves Seattle Mariners Chicago White Sox
Atlanta Braves Seattle Mariners Chicago White Sox
action filter_type
action find
entity Horacio Ramírez
relation member of sports team
type sports team
['Horacio Ramírez', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Horacio_Ramírez property:member_of_sports_team ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461595
P466
Q811979
USER
Which architectural structures were inhabited by Atlanta Braves ?
(c(Q811979),P466,Q461595)
action filter_type
action find_reverse
entity Q461595
relation P466
type Q811979
[{'concept': 'Q811979'}, 'P466', 'Q461595']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q461595 . ?b rdf:type ontology:Q811979 }
Atlanta Braves
action filter_type
action find_reverse
entity Atlanta Braves
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Atlanta Braves']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Atlanta_Braves . ?b rdf:type ontology:architectural_structure }
[]
architectural structure
Q17003430 Q2920554 Q3046174
SYSTEM
SunTrust Park, Champion Stadium, ESPN Wide World of Sports Complex
Q3046174 Q2920554 Q17003430 Q11335096 Q7986141 Q6646308
(c(Q811979),P466,Q461595)
action filter_type
action find_reverse
entity Q461595
relation P466
type Q811979
[ANSWERS]
[{'concept': 'Q811979'}, 'P466', 'Q461595']
SELECT DISTINCT ?b WHERE { ?b property:P466 resource:Q461595 . ?b rdf:type ontology:Q811979 }
ESPN Wide World of Sports Complex Champion Stadium SunTrust Park Braves Field West Palm Beach Municipal Stadium South End Grounds
SunTrust Park Champion Stadium ESPN Wide World of Sports Complex
action filter_type
action find_reverse
entity Atlanta Braves
relation occupant
type architectural structure
[{'concept': 'architectural structure'}, 'occupant', 'Atlanta Braves']
SELECT DISTINCT ?b WHERE { ?b property:occupant resource:Atlanta_Braves . ?b rdf:type ontology:architectural_structure }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17003430
P137
Q12973014
USER
Which sports team operates SunTrust Park ?
(Q17003430,P137,c(Q12973014))
action filter_type
action find
entity Q17003430
relation P137
type Q12973014
['Q17003430', 'P137', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q17003430 property:P137 ?s . ?s rdf:type ontology:Q12973014 }
SunTrust Park
action filter_type
action find
entity SunTrust Park
relation operator
type sports team
['SunTrust Park', 'operator', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:SunTrust_Park property:operator ?s . ?s rdf:type ontology:sports_team }
[]
sports team
Q461595
SYSTEM
Atlanta Braves
Q461595
(Q17003430,P137,c(Q12973014))
action filter_type
action find
entity Q17003430
relation P137
type Q12973014
[ANSWER]
['Q17003430', 'P137', {'concept': 'Q12973014'}]
SELECT DISTINCT ?s WHERE { resource:Q17003430 property:P137 ?s . ?s rdf:type ontology:Q12973014 }
Atlanta Braves
Atlanta Braves
action filter_type
action find
entity SunTrust Park
relation operator
type sports team
['SunTrust Park', 'operator', {'concept': 'sports team'}]
SELECT DISTINCT ?s WHERE { resource:SunTrust_Park property:operator ?s . ?s rdf:type ontology:sports_team }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1464343 Q17003430
P17
Q15617994
USER
Which administrative territories are SunTrust Park or Sturefors Castle situated in ?
OR((Q17003430,P17,c(Q15617994)), (Q1464343,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17003430
relation P17
action find
entity Q1464343
relation P17
type Q15617994
{'OR': [['Q17003430', 'P17', {'concept': 'Q15617994'}], ['Q1464343', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?g ) { ( resource:Q17003430 ) ( resource:Q1464343 ) } . ?g property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
Sturefors Castle SunTrust Park
action filter_type
action union
action find
entity SunTrust Park
relation country
action find
entity Sturefors Castle
relation country
type designation for an administrative territorial entity
{'OR': [['SunTrust Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sturefors Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?g ) { ( resource:SunTrust_Park ) ( resource:Sturefors_Castle ) } . ?g property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q34
SYSTEM
United States of America, Sweden
Q30 Q34
OR((Q17003430,P17,c(Q15617994)), (Q1464343,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q17003430
relation P17
action find
entity Q1464343
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q17003430', 'P17', {'concept': 'Q15617994'}], ['Q1464343', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?g ) { ( resource:Q17003430 ) ( resource:Q1464343 ) } . ?g property:P17 ?q } . ?q rdf:type ontology:Q15617994 }
United States of America Sweden
United States of America Sweden
action filter_type
action union
action find
entity SunTrust Park
relation country
action find
entity Sturefors Castle
relation country
type designation for an administrative territorial entity
{'OR': [['SunTrust Park', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Sturefors Castle', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?g ) { ( resource:SunTrust_Park ) ( resource:Sturefors_Castle ) } . ?g property:country ?q } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q434466
P27
Q502895
USER
Are Anna Q. Nilsson a native of those administrative territories ?
(Q434466,P27,Q30) (Q434466,P27,Q34)
action is_in
entity prev_answer
action find
entity Q434466
relation P27
['Q434466', 'P27', 'Q30'] ['Q434466', 'P27', 'Q34']
ASK WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q34 ) } . resource:Q434466 property:P27 ?a }
Anna Q. Nilsson
action is_in
entity prev_answer
action find
entity Anna Q. Nilsson
relation country of citizenship
['Anna Q. Nilsson', 'country of citizenship', 'United States of America'] ['Anna Q. Nilsson', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Sweden ) } . resource:Anna_Q._Nilsson property:country_of_citizenship ?a }
[]
common name
SYSTEM
YES
(Q434466,P27,Q30) (Q434466,P27,Q34)
action is_in
entity prev_answer
action find
entity Q434466
relation P27
[ANSWER]
['Q434466', 'P27', 'Q30'] ['Q434466', 'P27', 'Q34']
ASK WHERE { VALUES ( ?a ) { ( resource:Q30 ) ( resource:Q34 ) } . resource:Q434466 property:P27 ?a }
Yes
action is_in
entity prev_answer
action find
entity Anna Q. Nilsson
relation country of citizenship
['Anna Q. Nilsson', 'country of citizenship', 'United States of America'] ['Anna Q. Nilsson', 'country of citizenship', 'Sweden']
ASK WHERE { VALUES ( ?a ) { ( resource:United_States_of_America ) ( resource:Sweden ) } . resource:Anna_Q._Nilsson property:country_of_citizenship ?a }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relations with around 10 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 10
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?k } GROUP BY ?g } . FILTER ( ?e = 10 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?k } GROUP BY ?g } . FILTER ( ?e = 10 ) }
[]
political territorial entity designation for an administrative territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 10
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:Q15617994 . ?g rdf:type ontology:Q1048835 . ?g property:P530 ?k } GROUP BY ?g } . FILTER ( ?e = 10 ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 10
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?k ) AS ?e ) WHERE { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?g rdf:type ontology:political_territorial_entity . ?g property:diplomatic_relation ?k } GROUP BY ?g } . FILTER ( ?e = 10 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q34
P710
Q1190554
USER
What event did Sweden particiate in ?
(c(Q1190554),P710,Q34)
action filter_type
action find_reverse
entity Q34
relation P710
type Q1190554
[{'concept': 'Q1190554'}, 'P710', 'Q34']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q34 . ?a rdf:type ontology:Q1190554 }
Sweden
action filter_type
action find_reverse
entity Sweden
relation participant
type event
[{'concept': 'event'}, 'participant', 'Sweden']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Sweden . ?a rdf:type ontology:event }
[]
event
Q705409 Q541566 Q1606958
SYSTEM
Battle of Helsingborg, Battle of Kolding, Battle of Bogesund
Q3500708 Q705409 Q546505 Q46003 Q138025 Q736268 Q367025 Q155726 Q663359 Q682482 Q541566 Q1606958
(c(Q1190554),P710,Q34)
action filter_type
action find_reverse
entity Q34
relation P710
type Q1190554
[ANSWERS]
[{'concept': 'Q1190554'}, 'P710', 'Q34']
SELECT DISTINCT ?a WHERE { ?a property:P710 resource:Q34 . ?a rdf:type ontology:Q1190554 }
Battle of Stäket Battle of Helsingborg Battle of Stegeborg Battle of Rajovka Siege of Veprik Finnish War Battle of Lena Battle of Narva Battle of Holowczyn Russo-Swedish War Battle of Kolding Battle of Bogesund
Battle of Helsingborg Battle of Kolding Battle of Bogesund
action filter_type
action find_reverse
entity Sweden
relation participant
type event
[{'concept': 'event'}, 'participant', 'Sweden']
SELECT DISTINCT ?a WHERE { ?a property:participant resource:Sweden . ?a rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16
P6
Q502895
USER
Which people have Canada as their heads of government ?
(Q16,P6,c(Q502895))
action filter_type
action find
entity Q16
relation P6
type Q502895
['Q16', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q16 property:P6 ?x }
Canada
action filter_type
action find
entity Canada
relation head of government
type common name
['Canada', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Canada property:head_of_government ?x }
[]
common name
Q3099714 Q128702 Q206
SYSTEM
Justin Trudeau, John A. Macdonald, Stephen Harper
Q3099714 Q206 Q128708 Q128702
(Q16,P6,c(Q502895))
action filter_type
action find
entity Q16
relation P6
type Q502895
[ANSWERS]
['Q16', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q16 property:P6 ?x }
Justin Trudeau Stephen Harper Alexander Mackenzie John A. Macdonald
Justin Trudeau John A. Macdonald Stephen Harper
action filter_type
action find
entity Canada
relation head of government
type common name
['Canada', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Canada property:head_of_government ?x }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q3099714 Q128702 Q206
P6
Q1048835
USER
Which political territories have their government headed by those people ?
(c(Q1048835),P6,Q3099714) (c(Q1048835),P6,Q128702) (c(Q1048835),P6,Q206)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q1048835
[{'concept': 'Q1048835'}, 'P6', 'Q3099714'] [{'concept': 'Q1048835'}, 'P6', 'Q128702'] [{'concept': 'Q1048835'}, 'P6', 'Q206']
SELECT DISTINCT ?n WHERE { ?n property:P6 ?l . VALUES ( ?l ) { ( resource:Q3099714 ) ( resource:Q206 ) ( resource:Q128708 ) } . ?n rdf:type ontology:Q1048835 }
Justin Trudeau John A. Macdonald Stephen Harper
action filter_type
action find_reverse
entity prev_answer
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Justin Trudeau'] [{'concept': 'political territorial entity'}, 'head of government', 'John A. Macdonald'] [{'concept': 'political territorial entity'}, 'head of government', 'Stephen Harper']
SELECT DISTINCT ?n WHERE { ?n property:head_of_government ?l . VALUES ( ?l ) { ( resource:Justin_Trudeau ) ( resource:Stephen_Harper ) ( resource:Alexander_Mackenzie ) } . ?n rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(c(Q1048835),P6,Q3099714) (c(Q1048835),P6,Q128702) (c(Q1048835),P6,Q206)
action filter_type
action find_reverse
entity prev_answer
relation P6
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P6', 'Q3099714'] [{'concept': 'Q1048835'}, 'P6', 'Q128702'] [{'concept': 'Q1048835'}, 'P6', 'Q206']
SELECT DISTINCT ?n WHERE { ?n property:P6 ?l . VALUES ( ?l ) { ( resource:Q3099714 ) ( resource:Q206 ) ( resource:Q128708 ) } . ?n rdf:type ontology:Q1048835 }
Canada
Canada
action filter_type
action find_reverse
entity prev_answer
relation head of government
type political territorial entity
[{'concept': 'political territorial entity'}, 'head of government', 'Justin Trudeau'] [{'concept': 'political territorial entity'}, 'head of government', 'John A. Macdonald'] [{'concept': 'political territorial entity'}, 'head of government', 'Stephen Harper']
SELECT DISTINCT ?n WHERE { ?n property:head_of_government ?l . VALUES ( ?l ) { ( resource:Justin_Trudeau ) ( resource:Stephen_Harper ) ( resource:Alexander_Mackenzie ) } . ?n rdf:type ontology:political_territorial_entity }
[]