Simple Question (Direct)
Simple Question
Q3014955
P39
Q12737077
USER
What were the positions for which Danielle Auroi were appointed ?
(Q3014955,P39,c(Q12737077))
action filter_type
action find
entity Q3014955
relation P39
type Q12737077
['Q3014955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3014955 property:P39 ?i }
Danielle Auroi
action filter_type
action find
entity Danielle Auroi
relation position held
type occupation
['Danielle Auroi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Danielle_Auroi property:position_held ?i }
[]
occupation
Q27169 Q3044918
SYSTEM
member of the European Parliament, member of the French National Assembly
Q27169 Q3044918
(Q3014955,P39,c(Q12737077))
action filter_type
action find
entity Q3014955
relation P39
type Q12737077
[ANSWERS]
['Q3014955', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q3014955 property:P39 ?i }
member of the European Parliament member of the French National Assembly
And member of the European Parliament and member of the French National Assembly
member of the European Parliament member of the French National Assembly
action filter_type
action find
entity Danielle Auroi
relation position held
type occupation
['Danielle Auroi', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Danielle_Auroi property:position_held ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3044918
P1001
Q15617994
USER
Which administrative territory belongs to jurisdiction of member of the French National Assembly ?
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3044918 property:P1001 ?e . ?e rdf:type ontology:Q15617994 }
member of the French National Assembly
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P1001,c(Q15617994))
action filter_type
action find
entity Q3044918
relation P1001
type Q15617994
[ANSWER] belongs to jurisdiction of member of the French National Assembly
['Q3044918', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q3044918 property:P1001 ?e . ?e rdf:type ontology:Q15617994 }
France
France belongs to jurisdiction of member of the French National Assembly
France
action filter_type
action find
entity member of the French National Assembly
relation applies to jurisdiction
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:member_of_the_French National_Assembly property:applies_to_jurisdiction ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P463
Q180516
USER
Which room was that administrative territory a member of ?
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P463 ?y . ?y rdf:type ontology:Q180516 }
France
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?y WHERE { resource:France property:member_of ?y . ?y rdf:type ontology:room }
[]
room
Q141720
SYSTEM
European Air Transport Command
Q141720
(Q142,P463,c(Q180516))
action filter_type
action find
entity Q142
relation P463
type Q180516
[ANSWER] was that administrative territory a member of
['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P463 ?y . ?y rdf:type ontology:Q180516 }
European Air Transport Command
European Air Transport Command was that administrative territory a member of
European Air Transport Command
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?y WHERE { resource:France property:member_of ?y . ?y rdf:type ontology:room }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q183
Q180516
USER
And how about Germany?
(Q183,P463,c(Q180516))
action filter_type
action find
entity Q183
relation P463
type Q180516
['Q183', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P463 ?w . ?w rdf:type ontology:Q180516 }
Germany
action filter_type
action find
entity Germany
relation member of
type room
['Germany', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:member_of ?w . ?w rdf:type ontology:room }
[]
room
Q141720
SYSTEM
European Air Transport Command
Q141720
(Q183,P463,c(Q180516))
action filter_type
action find
entity Q183
relation P463
type Q180516
[ANSWER]
['Q183', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ?w WHERE { resource:Q183 property:P463 ?w . ?w rdf:type ontology:Q180516 }
European Air Transport Command
European Air Transport Command
action filter_type
action find
entity Germany
relation member of
type room
['Germany', 'member of', {'concept': 'room'}]
SELECT DISTINCT ?w WHERE { resource:Germany property:member_of ?w . ?w rdf:type ontology:room }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P85
Q7725634
USER
What is the national anthem of that political territory ?
(Q141720,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
['Q141720', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?v WHERE { resource:Q183 property:P85 ?v . ?v rdf:type ontology:Q7725634 }
Germany
action filter_type
action find
entity Germany
relation anthem
type literary work
['European Air Transport Command', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?v WHERE { resource:Germany property:anthem ?v . ?v rdf:type ontology:literary_work }
[]
literary work
Q44042
SYSTEM
Das Lied der Deutschen
Q44042
(Q141720,P85,c(Q7725634))
action filter_type
action find
entity Q183
relation P85
type Q7725634
The national anthem of that political territory is [ANSWER]
['Q141720', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?v WHERE { resource:Q183 property:P85 ?v . ?v rdf:type ontology:Q7725634 }
Das Lied der Deutschen
The national anthem of that political territory is Das Lied der Deutschen
Das Lied der Deutschen
action filter_type
action find
entity Germany
relation anthem
type literary work
['European Air Transport Command', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?v WHERE { resource:Germany property:anthem ?v . ?v rdf:type ontology:literary_work }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1445
Q7725634 Q386724
USER
Which works are recounted in max number of literary works ?
(c(Q386724),P1445,c(Q7725634))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?c property:P1445 ?b . ?b rdf:type ontology:Q7725634 . ?c rdf:type ontology:Q386724 } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:P1445 ?s . ?j rdf:type ontology:Q386724 . ?s rdf:type ontology:Q7725634 } GROUP BY ?j } . FILTER ( ?d = ?n ) }
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?c property:fictional_universe_described_in ?b . ?b rdf:type ontology:literary_work . ?c rdf:type ontology:work } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:fictional_universe_described_in ?s . ?j rdf:type ontology:work . ?s rdf:type ontology:literary_work } GROUP BY ?j } . FILTER ( ?d = ?n ) }
[]
literary work work
Q384426
SYSTEM
Pirates of the Caribbean
Q384426
(c(Q386724),P1445,c(Q7725634))
action argmax
action find_tuple_counts
relation P1445
type Q386724
type Q7725634
[ANSWER] is recounted in max number of literary works
[{'concept': 'Q386724'}, 'P1445', {'concept': 'Q7725634'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?c property:P1445 ?b . ?b rdf:type ontology:Q7725634 . ?c rdf:type ontology:Q386724 } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:P1445 ?s . ?j rdf:type ontology:Q386724 . ?s rdf:type ontology:Q7725634 } GROUP BY ?j } . FILTER ( ?d = ?n ) }
Pirates of the Caribbean
Pirates of the Caribbean is recounted in max number of literary works
Pirates of the Caribbean
action argmax
action find_tuple_counts
relation fictional universe described in
type work
type literary work
[{'concept': 'work'}, 'fictional universe described in', {'concept': 'literary work'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MAX ( ?f ) AS ?n ) { SELECT DISTINCT ?c ( COUNT ( ?b ) AS ?f ) WHERE { ?c property:fictional_universe_described_in ?b . ?b rdf:type ontology:literary_work . ?c rdf:type ontology:work } GROUP BY ?c } } . { SELECT DISTINCT ?j ( COUNT ( ?s ) AS ?d ) WHERE { ?j property:fictional_universe_described_in ?s . ?j rdf:type ontology:work . ?s rdf:type ontology:literary_work } GROUP BY ?j } . FILTER ( ?d = ?n ) }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q384426 Q18535399
P1080
Q6619679
USER
Is Vin featured in that work ?
(Q18535399,P1080,Q384426)
action is_in
entity Q18535399
action find
entity Q384426
relation P1080
['Q18535399', 'P1080', 'Q384426']
ASK WHERE { resource:Q384426 property:P1080 resource:Q18535399 }
Pirates of the Caribbean Vin
action is_in
entity Vin
action find
entity Pirates of the Caribbean
relation from fictional universe
['Vin', 'from fictional universe', 'Pirates of the Caribbean']
ASK WHERE { resource:Pirates_of_the_Caribbean property:from_fictional_universe resource:Vin }
[]
fictional humanoid
SYSTEM
NO
(Q18535399,P1080,Q384426)
action is_in
entity Q18535399
action find
entity Q384426
relation P1080
[ANSWER]
['Q18535399', 'P1080', 'Q384426']
ASK WHERE { resource:Q384426 property:P1080 resource:Q18535399 }
No
action is_in
entity Vin
action find
entity Pirates of the Caribbean
relation from fictional universe
['Vin', 'from fictional universe', 'Pirates of the Caribbean']
ASK WHERE { resource:Pirates_of_the_Caribbean property:from_fictional_universe resource:Vin }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3044918 Q142 Q4704105
P17
Q15617994
USER
Is member of the French National Assembly situated in France and Al Jahrah District ?
(Q3044918,P17,Q142) (Q3044918,P17,Q4704105)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4704105
relation P17
['Q3044918', 'P17', 'Q142'] ['Q3044918', 'P17', 'Q4704105']
ASK WHERE { resource:Q3044918 property:P17 resource:Q142 . resource:Q3044918 property:P17 resource:Q4704105 }
member of the French National Assembly France Al Jahrah District
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Al Jahrah District
relation country
['member of the French\xa0National Assembly', 'country', 'France'] ['member of the French\xa0National Assembly', 'country', 'Al Jahrah District']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:France . resource:member_of_the_French National_Assembly property:country resource:Al_Jahrah_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q3044918,P17,Q142) (Q3044918,P17,Q4704105)
action is_in
entity Q3044918
action intersection
action find_reverse
entity Q142
relation P17
action find_reverse
entity Q4704105
relation P17
[ANSWER]
['Q3044918', 'P17', 'Q142'] ['Q3044918', 'P17', 'Q4704105']
ASK WHERE { resource:Q3044918 property:P17 resource:Q142 . resource:Q3044918 property:P17 resource:Q4704105 }
YES and NO respectively
action is_in
entity member of the French National Assembly
action intersection
action find_reverse
entity France
relation country
action find_reverse
entity Al Jahrah District
relation country
['member of the French\xa0National Assembly', 'country', 'France'] ['member of the French\xa0National Assembly', 'country', 'Al Jahrah District']
ASK WHERE { resource:member_of_the_French National_Assembly property:country resource:France . resource:member_of_the_French National_Assembly property:country resource:Al_Jahrah_District }
[]