Simple Question (Direct)
Simple Question
Q961364
P166
Q618779
USER
What were awarded to Randy Shughart ?
(Q961364,P166,c(Q618779))
action filter_type
action find
entity Q961364
relation P166
type Q618779
['Q961364', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q961364 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Randy Shughart
action filter_type
action find
entity Randy Shughart
relation award received
type award
['Randy Shughart', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Randy_Shughart property:award_received ?u . ?u rdf:type ontology:award }
[]
award
Q145752 Q203535
SYSTEM
Purple Heart, Medal of Honor
Q145752 Q203535
(Q961364,P166,c(Q618779))
action filter_type
action find
entity Q961364
relation P166
type Q618779
Awards [ANSWERS] were awarded to Randy Shughart
['Q961364', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?u WHERE { resource:Q961364 property:P166 ?u . ?u rdf:type ontology:Q618779 }
Purple Heart Medal of Honor
Awards Purple Heart and Medal of Honor were awarded to Randy Shughart
Purple Heart Medal of Honor
action filter_type
action find
entity Randy Shughart
relation award received
type award
['Randy Shughart', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?u WHERE { resource:Randy_Shughart property:award_received ?u . ?u rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q961364
P241
Q781132
USER
Which military branch did that person belong to ?
(Q145752,P241,c(Q781132)) (Q203535,P241,c(Q781132))
action filter_type
action find
entity Q961364
relation P241
type Q781132
['Q145752', 'P241', {'concept': 'Q781132'}] ['Q203535', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q961364 property:P241 ?f . ?f rdf:type ontology:Q781132 }
Randy Shughart
action filter_type
action find
entity Randy Shughart
relation military branch
type military branch
['Purple Heart', 'military branch', {'concept': 'military branch'}] ['Medal of Honor', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Randy_Shughart property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
military branch
Q9212
SYSTEM
United States Army
Q9212
(Q145752,P241,c(Q781132)) (Q203535,P241,c(Q781132))
action filter_type
action find
entity Q961364
relation P241
type Q781132
That person belonged a [ANSWER]
['Q145752', 'P241', {'concept': 'Q781132'}] ['Q203535', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?f WHERE { resource:Q961364 property:P241 ?f . ?f rdf:type ontology:Q781132 }
United States Army
That person belonged a United States Army
United States Army
action filter_type
action find
entity Randy Shughart
relation military branch
type military branch
['Purple Heart', 'military branch', {'concept': 'military branch'}] ['Medal of Honor', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?f WHERE { resource:Randy_Shughart property:military_branch ?f . ?f rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q961364
P607
Q1190554
USER
What was the event that Randy Shughart took part in
(Q961364,P607,c(Q1190554))
action filter_type
action find
entity Q961364
relation P607
type Q1190554
['Q961364', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q961364 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
Randy Shughart
action filter_type
action find
entity Randy Shughart
relation conflict
type event
['Randy Shughart', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Randy_Shughart property:conflict ?g . ?g rdf:type ontology:event }
[]
event
Q459282
SYSTEM
United States invasion of Panama
Q459282
(Q961364,P607,c(Q1190554))
action filter_type
action find
entity Q961364
relation P607
type Q1190554
The event that Randy Shughart took part in was the [ANSWER]
['Q961364', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { resource:Q961364 property:P607 ?g . ?g rdf:type ontology:Q1190554 }
United States invasion of Panama
The event that Randy Shughart took part in was the United States invasion of Panama
United States invasion of Panama
action filter_type
action find
entity Randy Shughart
relation conflict
type event
['Randy Shughart', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { resource:Randy_Shughart property:conflict ?g . ?g rdf:type ontology:event }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4796513
Q1190554
USER
And how about Arshad Sami Khan?
(Q4796513,P607,c(Q1190554))
action filter_type
action find
entity Q4796513
relation P607
type Q1190554
['Q4796513', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . resource:Q4796513 property:P607 ?g }
Arshad Sami Khan
action filter_type
action find
entity Arshad Sami Khan
relation conflict
type event
['Arshad Sami Khan', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . resource:Arshad_Sami_Khan property:conflict ?g }
[]
event
Q233583
SYSTEM
Indo-Pakistani War of 1965
Q233583
(Q4796513,P607,c(Q1190554))
action filter_type
action find
entity Q4796513
relation P607
type Q1190554
[ANSWER]
['Q4796513', 'P607', {'concept': 'Q1190554'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q1190554 . resource:Q4796513 property:P607 ?g }
Indo-Pakistani War of 1965
Indo-Pakistani War of 1965
action filter_type
action find
entity Arshad Sami Khan
relation conflict
type event
['Arshad Sami Khan', 'conflict', {'concept': 'event'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:event . resource:Arshad_Sami_Khan property:conflict ?g }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2435030 Q961364
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Randy Shughart or are Louisiana Highway 631 a part of ?
OR((Q961364,P27,c(Q15617994)), (Q2435030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q961364
relation P27
action find
entity Q2435030
relation P17
type Q15617994
{'OR': [['Q961364', 'P27', {'concept': 'Q15617994'}], ['Q2435030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q961364 property:P27 ?m } UNION { resource:Q2435030 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
Louisiana Highway 631 Randy Shughart
action filter_type
action union
action find
entity Randy Shughart
relation country of citizenship
action find
entity Louisiana Highway 631
relation country
type designation for an administrative territorial entity
{'OR': [['Randy Shughart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Louisiana Highway 631', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Randy_Shughart property:country_of_citizenship ?m } UNION { resource:Louisiana_Highway_631 property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q961364,P27,c(Q15617994)), (Q2435030,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q961364
relation P27
action find
entity Q2435030
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Randy Shughart or is Louisiana Highway 631 a part of
{'OR': [['Q961364', 'P27', {'concept': 'Q15617994'}], ['Q2435030', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Q961364 property:P27 ?m } UNION { resource:Q2435030 property:P17 ?m } } . ?m rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Randy Shughart or is Louisiana Highway 631 a part of
United States of America
action filter_type
action union
action find
entity Randy Shughart
relation country of citizenship
action find
entity Louisiana Highway 631
relation country
type designation for an administrative territorial entity
{'OR': [['Randy Shughart', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Louisiana Highway 631', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { { resource:Randy_Shughart property:country_of_citizenship ?m } UNION { resource:Louisiana_Highway_631 property:country ?m } } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2435030
P127
Q327333
USER
Who owns that thoroughfare ?
(Q30,P127,c(Q327333))
action filter_type
action find
entity Q2435030
relation P127
type Q327333
['Q30', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?q WHERE { resource:Q2435030 property:P127 ?q . ?q rdf:type ontology:Q327333 }
Louisiana Highway 631
action filter_type
action find
entity Louisiana Highway 631
relation owned by
type government agency
['United States of America', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?q WHERE { resource:Louisiana_Highway_631 property:owned_by ?q . ?q rdf:type ontology:government_agency }
[]
government agency
Q2400783
SYSTEM
Louisiana Department of Transportation and Development
Q2400783
(Q30,P127,c(Q327333))
action filter_type
action find
entity Q2435030
relation P127
type Q327333
[ANSWER] owns that thoroughfare
['Q30', 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ?q WHERE { resource:Q2435030 property:P127 ?q . ?q rdf:type ontology:Q327333 }
Louisiana Department of Transportation and Development
Louisiana Department of Transportation and Development owns that thoroughfare
Louisiana Department of Transportation and Development
action filter_type
action find
entity Louisiana Highway 631
relation owned by
type government agency
['United States of America', 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ?q WHERE { resource:Louisiana_Highway_631 property:owned_by ?q . ?q rdf:type ontology:government_agency }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q327333 Q4830453
USER
How many business enterprises are owned by atleast 1 government agency ?
(c(Q4830453),P127,c(Q327333))
action count
action atleast
action find_tuple_counts
relation P127
type Q4830453
type Q327333
value 1
[{'concept': 'Q4830453'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:P127 ?v . ?h rdf:type ontology:Q4830453 . ?v rdf:type ontology:Q327333 } GROUP BY ?h } . FILTER ( ?f >= 1 ) }
action count
action atleast
action find_tuple_counts
relation owned by
type business enterprise
type government agency
value 1
[{'concept': 'business enterprise'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:owned_by ?v . ?h rdf:type ontology:business_enterprise . ?v rdf:type ontology:government_agency } GROUP BY ?h } . FILTER ( ?f >= 1 ) }
[]
government agency business enterprise
SYSTEM
5
Q19720190 Q19720188 Q20438616 Q25796224 Q1818552
(c(Q4830453),P127,c(Q327333))
action count
action atleast
action find_tuple_counts
relation P127
type Q4830453
type Q327333
value 1
[ANSWER]
[{'concept': 'Q4830453'}, 'P127', {'concept': 'Q327333'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:P127 ?v . ?h rdf:type ontology:Q4830453 . ?v rdf:type ontology:Q327333 } GROUP BY ?h } . FILTER ( ?f >= 1 ) }
medium size publisher small publisher KMKK Középkelet-magyarországi Közlekedési Központ Dél-dunántúli Közlekedési Központ NASA TV
5
action count
action atleast
action find_tuple_counts
relation owned by
type business enterprise
type government agency
value 1
[{'concept': 'business enterprise'}, 'owned by', {'concept': 'government agency'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?v ) AS ?f ) WHERE { ?h property:owned_by ?v . ?h rdf:type ontology:business_enterprise . ?v rdf:type ontology:government_agency } GROUP BY ?h } . FILTER ( ?f >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q9212 Q8359
P921
Q2342494
USER
How many collectables were mainly based on United States Army or Odenwald ?
(c(Q2342494),P921,Q9212) (c(Q2342494),P921,Q8359)
action count
action union
action filter_type
action find_reverse
entity Q9212
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q8359
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q9212'] [{'concept': 'Q2342494'}, 'P921', 'Q8359']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:P921 resource:Q9212 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P921 resource:Q8359 . ?f rdf:type ontology:Q2342494 } }
United States Army Odenwald
action count
action union
action filter_type
action find_reverse
entity United States Army
relation main subject
type collectable
action filter_type
action find_reverse
entity Odenwald
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United States Army'] [{'concept': 'collectable'}, 'main subject', 'Odenwald']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:main_subject resource:United_States_Army . ?f rdf:type ontology:collectable } UNION { ?f property:main_subject resource:Odenwald . ?f rdf:type ontology:collectable } }
[]
collectable
SYSTEM
2
Q5007234 Q23023990
(c(Q2342494),P921,Q9212) (c(Q2342494),P921,Q8359)
action count
action union
action filter_type
action find_reverse
entity Q9212
relation P921
type Q2342494
action filter_type
action find_reverse
entity Q8359
relation P921
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P921', 'Q9212'] [{'concept': 'Q2342494'}, 'P921', 'Q8359']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:P921 resource:Q9212 . ?f rdf:type ontology:Q2342494 } UNION { ?f property:P921 resource:Q8359 . ?f rdf:type ontology:Q2342494 } }
C/O Postmaster Unser Land - Heimatkalender für Neckartal, Odenwald, Bauland und Kraichgau
2
action count
action union
action filter_type
action find_reverse
entity United States Army
relation main subject
type collectable
action filter_type
action find_reverse
entity Odenwald
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'United States Army'] [{'concept': 'collectable'}, 'main subject', 'Odenwald']
SELECT DISTINCT ( COUNT ( ?f ) AS ?t ) WHERE { { ?f property:main_subject resource:United_States_Army . ?f rdf:type ontology:collectable } UNION { ?f property:main_subject resource:Odenwald . ?f rdf:type ontology:collectable } }
[]