Simple Question (Direct)
Simple Question
Q8003005
P69
Q3918
USER
What is the university where Will P. Stephenson was educated ?
(Q8003005,P69,c(Q3918))
action filter_type
action find
entity Q8003005
relation P69
type Q3918
['Q8003005', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { resource:Q8003005 property:P69 ?l . ?l rdf:type ontology:Q3918 }
Will P. Stephenson
action filter_type
action find
entity Will P. Stephenson
relation educated at
type university
['Will P. Stephenson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { resource:Will_P._Stephenson property:educated_at ?l . ?l rdf:type ontology:university }
[]
university
Q7895273
SYSTEM
University of Cincinnati College of Law
Q7895273
(Q8003005,P69,c(Q3918))
action filter_type
action find
entity Q8003005
relation P69
type Q3918
The university Will P. is the [ANSWER]
['Q8003005', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?l WHERE { resource:Q8003005 property:P69 ?l . ?l rdf:type ontology:Q3918 }
University of Cincinnati College of Law
The university Will P. is the University of Cincinnati College of Law
University of Cincinnati College of Law
action filter_type
action find
entity Will P. Stephenson
relation educated at
type university
['Will P. Stephenson', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?l WHERE { resource:Will_P._Stephenson property:educated_at ?l . ?l rdf:type ontology:university }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P112
Q502895
USER
How many people are the names of the founders of that university ?
(Q7895273,P112,c(Q502895))
action count
action filter_type
action find
entity Q7895273
relation P112
type Q502895
['Q7895273', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q7895273 property:P112 ?w . ?w rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity University of Cincinnati College of Law
relation founder
type common name
['University of Cincinnati College of Law', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:University_of_Cincinnati_College_of_Law property:founder ?w . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q7807595
(Q7895273,P112,c(Q502895))
action count
action filter_type
action find
entity Q7895273
relation P112
type Q502895
[ANSWER]
['Q7895273', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:Q7895273 property:P112 ?w . ?w rdf:type ontology:Q502895 }
Timothy Walker
1
action count
action filter_type
action find
entity University of Cincinnati College of Law
relation founder
type common name
['University of Cincinnati College of Law', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) WHERE { resource:University_of_Cincinnati_College_of_Law property:founder ?w . ?w rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q373895 Q8003005
P102
Q7210356
USER
Which political organizations do Will P. Stephenson or Betty White belong to ?
OR((Q8003005,P102,c(Q7210356)), (Q373895,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q8003005
relation P102
action find
entity Q373895
relation P102
type Q7210356
{'OR': [['Q8003005', 'P102', {'concept': 'Q7210356'}], ['Q373895', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Q373895 ) ( resource:Q8003005 ) } . ?v property:P102 ?q } . ?q rdf:type ontology:Q7210356 }
Betty White Will P. Stephenson
action filter_type
action union
action find
entity Will P. Stephenson
relation member of political party
action find
entity Betty White
relation member of political party
type political organization
{'OR': [['Will P. Stephenson', 'member of political party', {'concept': 'political organization'}], ['Betty White', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Betty_White ) ( resource:Will_P._Stephenson ) } . ?v property:member_of_political_party ?q } . ?q rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
OR((Q8003005,P102,c(Q7210356)), (Q373895,P102,c(Q7210356)))
action filter_type
action union
action find
entity Q8003005
relation P102
action find
entity Q373895
relation P102
type Q7210356
The [ANSWER] will P. Stephenson or Betty White belong to
{'OR': [['Q8003005', 'P102', {'concept': 'Q7210356'}], ['Q373895', 'P102', {'concept': 'Q7210356'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Q373895 ) ( resource:Q8003005 ) } . ?v property:P102 ?q } . ?q rdf:type ontology:Q7210356 }
Democratic Party
The Democratic Party will P. Stephenson or Betty White belong to
Democratic Party
action filter_type
action union
action find
entity Will P. Stephenson
relation member of political party
action find
entity Betty White
relation member of political party
type political organization
{'OR': [['Will P. Stephenson', 'member of political party', {'concept': 'political organization'}], ['Betty White', 'member of political party', {'concept': 'political organization'}]]}
SELECT DISTINCT ?q WHERE { { VALUES ( ?v ) { ( resource:Betty_White ) ( resource:Will_P._Stephenson ) } . ?v property:member_of_political_party ?q } . ?q rdf:type ontology:political_organization }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q29552 Q11817
P112
Q502895
USER
Democratic Party ?
(Q29552,P112,Q11817)
action is_in
entity Q11817
action find
entity Q29552
relation P112
['Q29552', 'P112', 'Q11817']
ASK WHERE { resource:Q29552 property:P112 resource:Q11817 }
Democratic Party Andrew Jackson
action is_in
entity Andrew Jackson
action find
entity Democratic Party
relation founder
['Democratic Party', 'founder', 'Andrew Jackson']
ASK WHERE { resource:Democratic_Party property:founder resource:Andrew_Jackson }
[]
common name
SYSTEM
YES
(Q29552,P112,Q11817)
action is_in
entity Q11817
action find
entity Q29552
relation P112
[ANSWER]
['Q29552', 'P112', 'Q11817']
ASK WHERE { resource:Q29552 property:P112 resource:Q11817 }
Yes
action is_in
entity Andrew Jackson
action find
entity Democratic Party
relation founder
['Democratic Party', 'founder', 'Andrew Jackson']
ASK WHERE { resource:Democratic_Party property:founder resource:Andrew_Jackson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q7895273 Q7807595
P112
Q502895
USER
Was Timothy Walker the founder of University of Cincinnati College of Law ?
(Q7895273,P112,Q7807595)
action is_in
entity Q7807595
action find
entity Q7895273
relation P112
['Q7895273', 'P112', 'Q7807595']
ASK WHERE { resource:Q7895273 property:P112 resource:Q7807595 }
University of Cincinnati College of Law Timothy Walker
action is_in
entity Timothy Walker
action find
entity University of Cincinnati College of Law
relation founder
['University of Cincinnati College of Law', 'founder', 'Timothy Walker']
ASK WHERE { resource:University_of_Cincinnati_College_of_Law property:founder resource:Timothy_Walker }
[]
common name
SYSTEM
YES
(Q7895273,P112,Q7807595)
action is_in
entity Q7807595
action find
entity Q7895273
relation P112
[ANSWER]
['Q7895273', 'P112', 'Q7807595']
ASK WHERE { resource:Q7895273 property:P112 resource:Q7807595 }
Yes
action is_in
entity Timothy Walker
action find
entity University of Cincinnati College of Law
relation founder
['University of Cincinnati College of Law', 'founder', 'Timothy Walker']
ASK WHERE { resource:University_of_Cincinnati_College_of_Law property:founder resource:Timothy_Walker }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5655461 Q8003005
P20
Q515
USER
Which cities are the places of death of Will P. Stephenson or Pedro Pou ?
OR((Q8003005,P20,c(Q515)), (Q5655461,P20,c(Q515)))
action filter_type
action union
action find
entity Q8003005
relation P20
action find
entity Q5655461
relation P20
type Q515
{'OR': [['Q8003005', 'P20', {'concept': 'Q515'}], ['Q5655461', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q8003005 property:P20 ?o } UNION { resource:Q5655461 property:P20 ?o } } . ?o rdf:type ontology:Q515 }
Pedro Pou Will P. Stephenson
action filter_type
action union
action find
entity Will P. Stephenson
relation place of death
action find
entity Pedro Pou
relation place of death
type city
{'OR': [['Will P. Stephenson', 'place of death', {'concept': 'city'}], ['Pedro Pou', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Will_P._Stephenson property:place_of_death ?o } UNION { resource:Pedro_Pou property:place_of_death ?o } } . ?o rdf:type ontology:city }
[]
city
Q43196 Q1486
SYSTEM
Cincinnati, Buenos Aires
Q43196 Q1486
OR((Q8003005,P20,c(Q515)), (Q5655461,P20,c(Q515)))
action filter_type
action union
action find
entity Q8003005
relation P20
action find
entity Q5655461
relation P20
type Q515
[ANSWERS] are the places of death of Will P. Stephenson or Pedro Pou
{'OR': [['Q8003005', 'P20', {'concept': 'Q515'}], ['Q5655461', 'P20', {'concept': 'Q515'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q8003005 property:P20 ?o } UNION { resource:Q5655461 property:P20 ?o } } . ?o rdf:type ontology:Q515 }
Cincinnati Buenos Aires
Cincinnati and Buenos Aires are the places of death of Will P. Stephenson or Pedro Pou
Cincinnati Buenos Aires
action filter_type
action union
action find
entity Will P. Stephenson
relation place of death
action find
entity Pedro Pou
relation place of death
type city
{'OR': [['Will P. Stephenson', 'place of death', {'concept': 'city'}], ['Pedro Pou', 'place of death', {'concept': 'city'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Will_P._Stephenson property:place_of_death ?o } UNION { resource:Pedro_Pou property:place_of_death ?o } } . ?o rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q43196 Q1486
P276
Q811979
USER
Which architectural structures are located at Cincinnati and Buenos Aires ?
(c(Q811979),P276,Q43196) (c(Q811979),P276,Q1486)
action union
action filter_type
action find_reverse
entity Q43196
relation P276
type Q811979
action filter_type
action find_reverse
entity Q1486
relation P276
type Q811979
[{'concept': 'Q811979'}, 'P276', 'Q43196'] [{'concept': 'Q811979'}, 'P276', 'Q1486']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q811979 . ?m property:P276 resource:Q43196 } UNION { ?m property:P276 resource:Q1486 . ?m rdf:type ontology:Q811979 } }
Cincinnati Buenos Aires
action union
action filter_type
action find_reverse
entity Cincinnati
relation location
type architectural structure
action filter_type
action find_reverse
entity Buenos Aires
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Cincinnati'] [{'concept': 'architectural structure'}, 'location', 'Buenos Aires']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:architectural_structure . ?m property:location resource:Cincinnati } UNION { ?m property:location resource:Buenos_Aires . ?m rdf:type ontology:architectural_structure } }
[]
architectural structure
Q7397097 Q1462481
SYSTEM
Sacred Heart Academy, Luna Park
Q7397097 Q1462481
(c(Q811979),P276,Q43196) (c(Q811979),P276,Q1486)
action union
action filter_type
action find_reverse
entity Q43196
relation P276
type Q811979
action filter_type
action find_reverse
entity Q1486
relation P276
type Q811979
Are [ANSWERS] are located at Cincinnati and Buenos Aires
[{'concept': 'Q811979'}, 'P276', 'Q43196'] [{'concept': 'Q811979'}, 'P276', 'Q1486']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:Q811979 . ?m property:P276 resource:Q43196 } UNION { ?m property:P276 resource:Q1486 . ?m rdf:type ontology:Q811979 } }
Sacred Heart Academy Luna Park
Are Sacred Heart Academy and Luna Park are located at Cincinnati and Buenos Aires
Sacred Heart Academy Luna Park
action union
action filter_type
action find_reverse
entity Cincinnati
relation location
type architectural structure
action filter_type
action find_reverse
entity Buenos Aires
relation location
type architectural structure
[{'concept': 'architectural structure'}, 'location', 'Cincinnati'] [{'concept': 'architectural structure'}, 'location', 'Buenos Aires']
SELECT DISTINCT ?m WHERE { { ?m rdf:type ontology:architectural_structure . ?m property:location resource:Cincinnati } UNION { ?m property:location resource:Buenos_Aires . ?m rdf:type ontology:architectural_structure } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7397097 Q1462481
P17
Q15617994
USER
Which administrative territories are Sacred Heart Academy and Luna Park present in ?
(Q7397097,P17,c(Q15617994)) (Q1462481,P17,c(Q15617994))
action union
action filter_type
action find
entity Q7397097
relation P17
type Q15617994
action filter_type
action find
entity Q1462481
relation P17
type Q15617994
['Q7397097', 'P17', {'concept': 'Q15617994'}] ['Q1462481', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q7397097 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q1462481 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
Sacred Heart Academy Luna Park
action union
action filter_type
action find
entity Sacred Heart Academy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Luna Park
relation country
type designation for an administrative territorial entity
['Sacred Heart Academy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Luna Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Sacred_Heart_Academy property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Luna_Park property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q414
SYSTEM
United States of America, Argentina
Q30 Q414
(Q7397097,P17,c(Q15617994)) (Q1462481,P17,c(Q15617994))
action union
action filter_type
action find
entity Q7397097
relation P17
type Q15617994
action filter_type
action find
entity Q1462481
relation P17
type Q15617994
[ANSWERS]
['Q7397097', 'P17', {'concept': 'Q15617994'}] ['Q1462481', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { resource:Q7397097 property:P17 ?k . ?k rdf:type ontology:Q15617994 } UNION { resource:Q1462481 property:P17 ?k . ?k rdf:type ontology:Q15617994 } }
United States of America Argentina
Which administrative territories are Sacred Heart Academy and Luna Park present in
United States of America Argentina
action union
action filter_type
action find
entity Sacred Heart Academy
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Luna Park
relation country
type designation for an administrative territorial entity
['Sacred Heart Academy', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Luna Park', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { resource:Sacred_Heart_Academy property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Luna_Park property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]