Simple Question (Direct)
Simple Question
Q3497811
P54
Q12973014
USER
What is Steeve Essart a member of ?
(Q3497811,P54,c(Q12973014))
action filter_type
action find
entity Q3497811
relation P54
type Q12973014
['Q3497811', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q3497811 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
Steeve Essart
action filter_type
action find
entity Steeve Essart
relation member of sports team
type sports team
['Steeve Essart', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Steeve_Essart property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
sports team
Q795707
SYSTEM
BCM Gravelines
Q795707
(Q3497811,P54,c(Q12973014))
action filter_type
action find
entity Q3497811
relation P54
type Q12973014
Steeve Essart a member of is the [ANSWER]
['Q3497811', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?j WHERE { resource:Q3497811 property:P54 ?j . ?j rdf:type ontology:Q12973014 }
BCM Gravelines
Steeve Essart a member of is the BCM Gravelines
BCM Gravelines
action filter_type
action find
entity Steeve Essart
relation member of sports team
type sports team
['Steeve Essart', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?j WHERE { resource:Steeve_Essart property:member_of_sports_team ?j . ?j rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3497811
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q795707,P106,c(Q12737077))
action filter_type
action find
entity Q3497811
relation P106
type Q12737077
['Q795707', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3497811 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Steeve Essart
action filter_type
action find
entity Steeve Essart
relation occupation
type occupation
['BCM Gravelines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Steeve_Essart property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q3665646
SYSTEM
basketball player
Q3665646
(Q795707,P106,c(Q12737077))
action filter_type
action find
entity Q3497811
relation P106
type Q12737077
The [ANSWER] is the profession of that person
['Q795707', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3497811 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
basketball player
The basketball player is the profession of that person
basketball player
action filter_type
action find
entity Steeve Essart
relation occupation
type occupation
['BCM Gravelines', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Steeve_Essart property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47064
P425
Q43229
USER
Who has military personnel as the associated field of occupation ?
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q47064 property:P425 ?n }
military personnel
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:military_personnel property:field_of_this_occupation ?n }
[]
organization
Q8473
SYSTEM
military
Q8473
(Q47064,P425,c(Q43229))
action filter_type
action find
entity Q47064
relation P425
type Q43229
Was [ANSWER] has [ANSWER] personnel as the associated field of occupation
['Q47064', 'P425', {'concept': 'Q43229'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q43229 . resource:Q47064 property:P425 ?n }
military
Was military has military personnel as the associated field of occupation
military
action filter_type
action find
entity military personnel
relation field of this occupation
type organization
['military personnel', 'field of this occupation', {'concept': 'organization'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:organization . resource:military_personnel property:field_of_this_occupation ?n }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q8473 Q13512340 Q772547
P361
Q43229
USER
Is military a part of FreakingNews and armed forces ?
(Q8473,P361,Q13512340) (Q8473,P361,Q772547)
action is_in
entity Q8473
action intersection
action find_reverse
entity Q13512340
relation P361
action find_reverse
entity Q772547
relation P361
['Q8473', 'P361', 'Q13512340'] ['Q8473', 'P361', 'Q772547']
ASK WHERE { resource:Q8473 property:P361 resource:Q772547 . resource:Q8473 property:P361 resource:Q13512340 }
military FreakingNews armed forces
action is_in
entity military
action intersection
action find_reverse
entity FreakingNews
relation part of
action find_reverse
entity armed forces
relation part of
['military', 'part of', 'FreakingNews'] ['military', 'part of', 'armed forces']
ASK WHERE { resource:military property:part_of resource:armed_forces . resource:military property:part_of resource:FreakingNews }
[]
organization
SYSTEM
NO and YES respectively
(Q8473,P361,Q13512340) (Q8473,P361,Q772547)
action is_in
entity Q8473
action intersection
action find_reverse
entity Q13512340
relation P361
action find_reverse
entity Q772547
relation P361
[ANSWER]
['Q8473', 'P361', 'Q13512340'] ['Q8473', 'P361', 'Q772547']
ASK WHERE { resource:Q8473 property:P361 resource:Q772547 . resource:Q8473 property:P361 resource:Q13512340 }
NO and YES respectively
action is_in
entity military
action intersection
action find_reverse
entity FreakingNews
relation part of
action find_reverse
entity armed forces
relation part of
['military', 'part of', 'FreakingNews'] ['military', 'part of', 'armed forces']
ASK WHERE { resource:military property:part_of resource:armed_forces . resource:military property:part_of resource:FreakingNews }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3497811 Q142
P27
Q15617994
USER
Is France the country of citizenship of Steeve Essart ?
(Q3497811,P27,Q142)
action is_in
entity Q142
action find
entity Q3497811
relation P27
['Q3497811', 'P27', 'Q142']
ASK WHERE { resource:Q3497811 property:P27 resource:Q142 }
Steeve Essart France
action is_in
entity France
action find
entity Steeve Essart
relation country of citizenship
['Steeve Essart', 'country of citizenship', 'France']
ASK WHERE { resource:Steeve_Essart property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3497811,P27,Q142)
action is_in
entity Q142
action find
entity Q3497811
relation P27
[ANSWER]
['Q3497811', 'P27', 'Q142']
ASK WHERE { resource:Q3497811 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Steeve Essart
relation country of citizenship
['Steeve Essart', 'country of citizenship', 'France']
ASK WHERE { resource:Steeve_Essart property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q55488
USER
How many railway stations were managed by exactly 2 organizations ?
(c(Q55488),P137,c(Q43229))
action count
action equal
action find_tuple_counts
relation P137
type Q55488
type Q43229
value 2
[{'concept': 'Q55488'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?q ) WHERE { ?x property:P137 ?r . ?x rdf:type ontology:Q55488 . ?r rdf:type ontology:Q43229 } GROUP BY ?x } . FILTER ( ?q = 2 ) }
action count
action equal
action find_tuple_counts
relation operator
type railway station
type organization
value 2
[{'concept': 'railway station'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?q ) WHERE { ?x property:operator ?r . ?x rdf:type ontology:railway_station . ?r rdf:type ontology:organization } GROUP BY ?x } . FILTER ( ?q = 2 ) }
[]
organization railway station
SYSTEM
3
Q631094 Q5179839 Q321523
(c(Q55488),P137,c(Q43229))
action count
action equal
action find_tuple_counts
relation P137
type Q55488
type Q43229
value 2
[ANSWER]
[{'concept': 'Q55488'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?q ) WHERE { ?x property:P137 ?r . ?x rdf:type ontology:Q55488 . ?r rdf:type ontology:Q43229 } GROUP BY ?x } . FILTER ( ?q = 2 ) }
Bremen main station Cowton railway station Sternschanze station
3
action count
action equal
action find_tuple_counts
relation operator
type railway station
type organization
value 2
[{'concept': 'railway station'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?r ) AS ?q ) WHERE { ?x property:operator ?r . ?x rdf:type ontology:railway_station . ?r rdf:type ontology:organization } GROUP BY ?x } . FILTER ( ?q = 2 ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q18333521
Q15617994
USER
And how about Embassy of Sweden, Kigali?
(Q18333521,P137,c(Q15617994))
action count
action filter_type
action find
entity Q18333521
relation P137
type Q15617994
['Q18333521', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q18333521 property:P137 ?w . ?w rdf:type ontology:Q15617994 }
Embassy of Sweden, Kigali
action count
action filter_type
action find
entity Embassy of Sweden, Kigali
relation operator
type designation for an administrative territorial entity
['Embassy of Sweden, Kigali', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Embassy_of_Sweden,_Kigali property:operator ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q18333521,P137,c(Q15617994))
action count
action filter_type
action find
entity Q18333521
relation P137
type Q15617994
[ANSWER]
['Q18333521', 'P137', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Q18333521 property:P137 ?w . ?w rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Embassy of Sweden, Kigali
relation operator
type designation for an administrative territorial entity
['Embassy of Sweden, Kigali', 'operator', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { resource:Embassy_of_Sweden,_Kigali property:operator ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]