Simple Question (Direct)
Simple Question
Q1282503
P69
Q3918
USER
What is the university where Steven Reineke was educated ?
(Q1282503,P69,c(Q3918))
action filter_type
action find
entity Q1282503
relation P69
type Q3918
['Q1282503', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q1282503 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Steven Reineke
action filter_type
action find
entity Steven Reineke
relation educated at
type university
['Steven Reineke', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Steven_Reineke property:educated_at ?j . ?j rdf:type ontology:university }
[]
university
Q590643
SYSTEM
Miami University
Q590643
(Q1282503,P69,c(Q3918))
action filter_type
action find
entity Q1282503
relation P69
type Q3918
The university Steven Reineke was educated is [ANSWER]
['Q1282503', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?j WHERE { resource:Q1282503 property:P69 ?j . ?j rdf:type ontology:Q3918 }
Miami University
The university Steven Reineke was educated is Miami University
Miami University
action filter_type
action find
entity Steven Reineke
relation educated at
type university
['Steven Reineke', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?j WHERE { resource:Steven_Reineke property:educated_at ?j . ?j rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q590643
P84
Q811430
USER
What was that university an architect of ?
(c(Q811430),P84,Q590643)
action filter_type
action find_reverse
entity Q590643
relation P84
type Q811430
[{'concept': 'Q811430'}, 'P84', 'Q590643']
SELECT DISTINCT ?e WHERE { ?e property:P84 resource:Q590643 . ?e rdf:type ontology:Q811430 }
Miami University
action filter_type
action find_reverse
entity Miami University
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'Miami University']
SELECT DISTINCT ?e WHERE { ?e property:architect resource:Miami_University . ?e rdf:type ontology:construction }
[]
construction
Q7898293
SYSTEM
Upham Hall
Q7898293
(c(Q811430),P84,Q590643)
action filter_type
action find_reverse
entity Q590643
relation P84
type Q811430
That university an architect of was a [ANSWER]
[{'concept': 'Q811430'}, 'P84', 'Q590643']
SELECT DISTINCT ?e WHERE { ?e property:P84 resource:Q590643 . ?e rdf:type ontology:Q811430 }
Upham Hall
That university an architect of was a Upham Hall
Upham Hall
action filter_type
action find_reverse
entity Miami University
relation architect
type construction
[{'concept': 'construction'}, 'architect', 'Miami University']
SELECT DISTINCT ?e WHERE { ?e property:architect resource:Miami_University . ?e rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q590643
P127
Q811979
USER
Which architectural structures are under posessision of that university ?
(c(Q811979),P127,Q7898293)
action filter_type
action find_reverse
entity Q590643
relation P127
type Q811979
[{'concept': 'Q811979'}, 'P127', 'Q7898293']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q590643 . ?g rdf:type ontology:Q811979 }
Miami University
action filter_type
action find_reverse
entity Miami University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Upham Hall']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Miami_University . ?g rdf:type ontology:architectural_structure }
[]
architectural structure
Q5454800 Q14716633 Q7599617
SYSTEM
Fisher Hall and Marcum Center, Lottie Moon House, Stanley G. McKie Field at Joseph P. Hayden Jr. Park
Q14716633 Q7721903 Q5454800 Q7599617
(c(Q811979),P127,Q7898293)
action filter_type
action find_reverse
entity Q590643
relation P127
type Q811979
[ANSWERS] are under posessision of that university
[{'concept': 'Q811979'}, 'P127', 'Q7898293']
SELECT DISTINCT ?g WHERE { ?g property:P127 resource:Q590643 . ?g rdf:type ontology:Q811979 }
Lottie Moon House The Center for the Performing Arts and Art Building at Miami University Fisher Hall and Marcum Center Stanley G. McKie Field at Joseph P. Hayden Jr. Park
Fisher Hall and Marcum Center, Lottie Moon House and Stanley G. McKie Field at Joseph P. Hayden Jr. Park are under posessision of that university
Fisher Hall and Marcum Center Lottie Moon House Stanley G. McKie Field at Joseph P. Hayden Jr. Park
action filter_type
action find_reverse
entity Miami University
relation owned by
type architectural structure
[{'concept': 'architectural structure'}, 'owned by', 'Upham Hall']
SELECT DISTINCT ?g WHERE { ?g property:owned_by resource:Miami_University . ?g rdf:type ontology:architectural_structure }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q190157
P366
Q811430 Q16970 Q2235308
USER
How many constructions are considered to be the main utilization of around the same number of churches and ship types as transmitter ?
(c(Q16970)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q190157
relation P366
type Q16970
type Q2235308
[[{'concept': 'Q16970'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?t ) { ( ontology:Q16970 ) ( ontology:Q2235308 ) } . ?e rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P366 resource:Q190157 . { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2235308 ) ( ontology:Q16970 ) } } } } . FILTER ( ?p = ?v ) }
transmitter
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type church
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity transmitter
relation use
type church
type ship type
[[{'concept': 'church'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?t ) { ( ontology:church ) ( ontology:ship_type ) } . ?e rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:use resource:transmitter . { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:ship_type ) ( ontology:church ) } } } } . FILTER ( ?p = ?v ) }
[]
construction church ship type
SYSTEM
14
Q12280 Q4989906 Q494829 Q1362225 Q12518 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q55488 Q39715 Q335261
(c(Q16970)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q190157
relation P366
type Q16970
type Q2235308
[ANSWER]
[[{'concept': 'Q16970'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?t ) { ( ontology:Q16970 ) ( ontology:Q2235308 ) } . ?e rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P366 resource:Q190157 . { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2235308 ) ( ontology:Q16970 ) } } } } . FILTER ( ?p = ?v ) }
bridge monument bus station warehouse tower square planetarium fire station transmitter arena event venue railway station lighthouse ornament
14
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type church
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity transmitter
relation use
type church
type ship type
[[{'concept': 'church'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?p ) WHERE { VALUES ( ?t ) { ( ontology:church ) ( ontology:ship_type ) } . ?e rdf:type ?t } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:use resource:transmitter . { ?d rdf:type ?y . VALUES ( ?y ) { ( ontology:ship_type ) ( ontology:church ) } } } } . FILTER ( ?p = ?v ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q18674739
P366
Q811430 Q16970 Q2235308
USER
And how about event venue?
(c(Q16970)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q18674739
relation P366
type Q16970
type Q2235308
[[{'concept': 'Q16970'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q16970 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P366 resource:Q18674739 . { { ?w rdf:type ontology:Q16970 } UNION { ?w rdf:type ontology:Q2235308 } } } } . FILTER ( ?e = ?p ) }
event venue
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type church
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity event venue
relation use
type church
type ship type
[[{'concept': 'church'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:church ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:use resource:event_venue . { { ?w rdf:type ontology:church } UNION { ?w rdf:type ontology:ship_type } } } } . FILTER ( ?e = ?p ) }
[]
construction church ship type
SYSTEM
14
Q12280 Q4989906 Q494829 Q1362225 Q12518 Q174782 Q148319 Q1195942 Q190157 Q641226 Q18674739 Q55488 Q39715 Q335261
(c(Q16970)|c(Q2235308),P366,c(Q811430))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q811430
type Q16970
action find_reverse_tuple_counts
relation P366
type Q811430
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q18674739
relation P366
type Q16970
type Q2235308
[ANSWER]
[[{'concept': 'Q16970'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q811430'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:Q16970 ) ( ontology:Q2235308 ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:P366 resource:Q18674739 . { { ?w rdf:type ontology:Q16970 } UNION { ?w rdf:type ontology:Q2235308 } } } } . FILTER ( ?e = ?p ) }
bridge monument bus station warehouse tower square planetarium fire station transmitter arena event venue railway station lighthouse ornament
14
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type construction
type church
action find_reverse_tuple_counts
relation use
type construction
type ship type
action count
action filter_multi_types
action find_reverse
entity event venue
relation use
type church
type ship type
[[{'concept': 'church'}, {'concept': 'ship type'}], 'use', {'concept': 'construction'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?e ) WHERE { ?q rdf:type ?z . VALUES ( ?z ) { ( ontology:church ) ( ontology:ship_type ) } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { ?w property:use resource:event_venue . { { ?w rdf:type ontology:church } UNION { ?w rdf:type ontology:ship_type } } } } . FILTER ( ?e = ?p ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4280535 Q590643
P17
Q15617994
USER
Which administrative territories are Miami University or Manne located in ?
OR((Q590643,P17,c(Q15617994)), (Q4280535,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q590643
relation P17
action find
entity Q4280535
relation P17
type Q15617994
{'OR': [['Q590643', 'P17', {'concept': 'Q15617994'}], ['Q4280535', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q590643 property:P17 ?s } UNION { resource:Q4280535 property:P17 ?s } } }
Manne Miami University
action filter_type
action union
action find
entity Miami University
relation country
action find
entity Manne
relation country
type designation for an administrative territorial entity
{'OR': [['Miami University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manne', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Miami_University property:country ?s } UNION { resource:Manne property:country ?s } } }
[]
designation for an administrative territorial entity
Q212 Q30
SYSTEM
Ukraine, United States of America
Q212 Q30
OR((Q590643,P17,c(Q15617994)), (Q4280535,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q590643
relation P17
action find
entity Q4280535
relation P17
type Q15617994
Miami University or Manne are located in [ANSWERS]
{'OR': [['Q590643', 'P17', {'concept': 'Q15617994'}], ['Q4280535', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q15617994 . { { resource:Q590643 property:P17 ?s } UNION { resource:Q4280535 property:P17 ?s } } }
Ukraine United States of America
Miami University or Manne are located in Ukraine and United States of America
Ukraine United States of America
action filter_type
action union
action find
entity Miami University
relation country
action find
entity Manne
relation country
type designation for an administrative territorial entity
{'OR': [['Miami University', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Manne', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Miami_University property:country ?s } UNION { resource:Manne property:country ?s } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories are known to have diplomatic connections with min number of administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?c property:P530 ?e } GROUP BY ?c } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?a ) WHERE { ?z property:P530 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?a = ?b ) }
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?e } GROUP BY ?c } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?a ) WHERE { ?z property:diplomatic_relation ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?a = ?b ) }
[]
designation for an administrative territorial entity political territorial entity
Q1000 Q769 Q691
SYSTEM
Gabon, Grenada, Papua New Guinea
Q1000 Q781 Q778 Q769 Q685 Q691
(c(Q1048835),P530,c(Q15617994))
action argmin
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
[ANSWERS] are known to have diplomatic connections with min number of administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q15617994 . ?c property:P530 ?e } GROUP BY ?c } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?a ) WHERE { ?z property:P530 ?v . ?z rdf:type ontology:Q1048835 . ?v rdf:type ontology:Q15617994 } GROUP BY ?z } . FILTER ( ?a = ?b ) }
Gabon Antigua and Barbuda The Bahamas Grenada Solomon Islands Papua New Guinea
Gabon, Grenada and Papua New Guinea are known to have diplomatic connections with min number of administrative territories
Gabon Grenada Papua New Guinea
action argmin
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ( MIN ( ?f ) AS ?b ) { SELECT DISTINCT ?c ( COUNT ( ?e ) AS ?f ) WHERE { ?c rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c property:diplomatic_relation ?e } GROUP BY ?c } } . { SELECT DISTINCT ?z ( COUNT ( ?v ) AS ?a ) WHERE { ?z property:diplomatic_relation ?v . ?z rdf:type ontology:political_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?a = ?b ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q769
P1376
Q56061
USER
Which administrative territory is the capital of that political territory ?
(c(Q56061),P1376,Q769)
action filter_type
action find_reverse
entity Q769
relation P1376
type Q56061
[{'concept': 'Q56061'}, 'P1376', 'Q769']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q769 . ?j rdf:type ontology:Q56061 }
Grenada
action filter_type
action find_reverse
entity Grenada
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Grenada']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:Grenada . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q691
SYSTEM
Did you mean Papua New Guinea ?
Q1000 Q769 Q691
(c(Q56061),P1376,Q1000) (c(Q56061),P1376,Q769) (c(Q56061),P1376,Q691)
[ANSWER]
[{'concept': 'Q56061'}, 'P1376', 'Q1000'] [{'concept': 'Q56061'}, 'P1376', 'Q769'] [{'concept': 'Q56061'}, 'P1376', 'Q691']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q769 . ?j rdf:type ontology:Q56061 }
Gabon Grenada Papua New Guinea
Did you mean Papua New Guinea ?
Papua New Guinea
[{'concept': 'administrative territorial entity'}, 'capital of', 'Gabon'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Grenada'] [{'concept': 'administrative territorial entity'}, 'capital of', 'Papua New Guinea']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:Grenada . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Grenada. Could you tell me the answer for that?
(c(Q56061),P1376,Q769)
Q769
[{'concept': 'Q56061'}, 'P1376', 'Q769']
[{'concept': 'administrative territorial entity'}, 'capital of', 'Grenada']
[]
Q41547
SYSTEM
St. George's
Q41547
(c(Q56061),P1376,Q769)
action filter_type
action find_reverse
entity Q769
relation P1376
type Q56061
[ANSWER] is the capital of that political territory
[{'concept': 'Q56061'}, 'P1376', 'Q769']
SELECT DISTINCT ?j WHERE { ?j property:P1376 resource:Q769 . ?j rdf:type ontology:Q56061 }
St. George's
St. George's is the capital of that political territory
St. George's
action filter_type
action find_reverse
entity Grenada
relation capital of
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'capital of', 'Grenada']
SELECT DISTINCT ?j WHERE { ?j property:capital_of resource:Grenada . ?j rdf:type ontology:administrative_territorial_entity }
[]