Simple Question (Direct)
Simple Question
Q18222131
P641
Q349
USER
What was the sport that Peter Haak was a part of ?
(Q18222131,P641,c(Q349))
action filter_type
action find
entity Q18222131
relation P641
type Q349
['Q18222131', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q18222131 property:P641 ?y }
Peter Haak
action filter_type
action find
entity Peter Haak
relation sport
type sport
['Peter Haak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Peter_Haak property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q18222131,P641,c(Q349))
action filter_type
action find
entity Q18222131
relation P641
type Q349
The sport that Peter Haak was a part of was the [ANSWER]
['Q18222131', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q18222131 property:P641 ?y }
association football
The sport that Peter Haak was a part of was the association football
association football
action filter_type
action find
entity Peter Haak
relation sport
type sport
['Peter Haak', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Peter_Haak property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18222131
P106
Q12737077
USER
Which occupation has that person as his/her 's career ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18222131
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q18222131 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Peter Haak
action filter_type
action find
entity Peter Haak
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Haak property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q18222131
relation P106
type Q12737077
Player [ANSWER] has that person as his/her 's career
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q18222131 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
association football player
Player association football player has that person as his/her 's career
association football player
action filter_type
action find
entity Peter Haak
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Peter_Haak property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3052685 Q18222131
P106
Q12737077
USER
Or Emmanuel Désveaux?
OR((Q18222131,P106,c(Q12737077)), (Q3052685,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18222131
relation P106
action find
entity Q3052685
relation P106
type Q12737077
{'OR': [['Q18222131', 'P106', {'concept': 'Q12737077'}], ['Q3052685', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q18222131 property:P106 ?q } UNION { resource:Q3052685 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
Emmanuel Désveaux Peter Haak
action filter_type
action union
action find
entity Peter Haak
relation occupation
action find
entity Emmanuel Désveaux
relation occupation
type occupation
{'OR': [['Peter Haak', 'occupation', {'concept': 'occupation'}], ['Emmanuel Désveaux', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Peter_Haak property:occupation ?q } UNION { resource:Emmanuel_Désveaux property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
occupation
Q4773904 Q937857
SYSTEM
anthropologist, association football player
Q4773904 Q937857
OR((Q18222131,P106,c(Q12737077)), (Q3052685,P106,c(Q12737077)))
action filter_type
action union
action find
entity Q18222131
relation P106
action find
entity Q3052685
relation P106
type Q12737077
[ANSWERS]
{'OR': [['Q18222131', 'P106', {'concept': 'Q12737077'}], ['Q3052685', 'P106', {'concept': 'Q12737077'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q18222131 property:P106 ?q } UNION { resource:Q3052685 property:P106 ?q } } . ?q rdf:type ontology:Q12737077 }
anthropologist association football player
anthropologist association football player
action filter_type
action union
action find
entity Peter Haak
relation occupation
action find
entity Emmanuel Désveaux
relation occupation
type occupation
{'OR': [['Peter Haak', 'occupation', {'concept': 'occupation'}], ['Emmanuel Désveaux', 'occupation', {'concept': 'occupation'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Peter_Haak property:occupation ?q } UNION { resource:Emmanuel_Désveaux property:occupation ?q } } . ?q rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3052685
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Emmanuel Désveaux ?
(Q4773904,P27,c(Q15617994)) (Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3052685
relation P27
type Q15617994
['Q4773904', 'P27', {'concept': 'Q15617994'}] ['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3052685 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Emmanuel Désveaux
action filter_type
action find
entity Emmanuel Désveaux
relation country of citizenship
type designation for an administrative territorial entity
['anthropologist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Emmanuel_Désveaux property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q4773904,P27,c(Q15617994)) (Q937857,P27,c(Q15617994))
action filter_type
action find
entity Q3052685
relation P27
type Q15617994
[ANSWER] is the country of citizenship of Emmanuel Désveaux
['Q4773904', 'P27', {'concept': 'Q15617994'}] ['Q937857', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3052685 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
France
France is the country of citizenship of Emmanuel Désveaux
France
action filter_type
action find
entity Emmanuel Désveaux
relation country of citizenship
type designation for an administrative territorial entity
['anthropologist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['association football player', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Emmanuel_Désveaux property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
Which political territories have diplomatic relations with atleast 73 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 73
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?s ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?s >= 73 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 73
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?s ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?s >= 73 ) }
[]
designation for an administrative territorial entity political territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 73
[ANSWERS] have diplomatic relations with atleast 73 administrative territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?s ) WHERE { ?r property:P530 ?n . ?r rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q15617994 } GROUP BY ?r } . FILTER ( ?s >= 73 ) }
Germany Australia
Germany and Australia have diplomatic relations with atleast 73 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 73
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?s ) WHERE { ?r property:diplomatic_relation ?n . ?r rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?r } . FILTER ( ?s >= 73 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1821767
P27
Q502895
USER
Are Levent Eriş a native of those political territories ?
(Q1821767,P27,Q183) (Q1821767,P27,Q408)
action is_in
entity prev_answer
action find
entity Q1821767
relation P27
['Q1821767', 'P27', 'Q183'] ['Q1821767', 'P27', 'Q408']
ASK WHERE { resource:Q1821767 property:P27 ?l . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q408 ) } }
Levent Eriş
action is_in
entity prev_answer
action find
entity Levent Eriş
relation country of citizenship
['Levent Eriş', 'country of citizenship', 'Germany'] ['Levent Eriş', 'country of citizenship', 'Australia']
ASK WHERE { resource:Levent_Eriş property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:Germany ) ( resource:Australia ) } }
[]
common name
SYSTEM
NO
(Q1821767,P27,Q183) (Q1821767,P27,Q408)
action is_in
entity prev_answer
action find
entity Q1821767
relation P27
[ANSWER]
['Q1821767', 'P27', 'Q183'] ['Q1821767', 'P27', 'Q408']
ASK WHERE { resource:Q1821767 property:P27 ?l . VALUES ( ?l ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Levent Eriş
relation country of citizenship
['Levent Eriş', 'country of citizenship', 'Germany'] ['Levent Eriş', 'country of citizenship', 'Australia']
ASK WHERE { resource:Levent_Eriş property:country_of_citizenship ?l . VALUES ( ?l ) { ( resource:Germany ) ( resource:Australia ) } }
[]