Simple Question (Direct)
Simple Question
Q3552767
P161
Q502895
USER
Which people starred in Utopia ?
(Q3552767,P161,c(Q502895))
action filter_type
action find
entity Q3552767
relation P161
type Q502895
['Q3552767', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3552767 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Utopia
action filter_type
action find
entity Utopia
relation cast member
type common name
['Utopia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Utopia property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
common name
Q523545 Q710654 Q179152
SYSTEM
Laurent Terzieff, Gérard Blain, Dominique Sanda
Q523545 Q355982 Q179152 Q710654
(Q3552767,P161,c(Q502895))
action filter_type
action find
entity Q3552767
relation P161
type Q502895
[ANSWERS] starred in Utopia
['Q3552767', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?q WHERE { resource:Q3552767 property:P161 ?q . ?q rdf:type ontology:Q502895 }
Laurent Terzieff Jean Dasté Dominique Sanda Gérard Blain
Laurent Terzieff, Gérard Blain and Dominique Sanda starred in Utopia
Laurent Terzieff Gérard Blain Dominique Sanda
action filter_type
action find
entity Utopia
relation cast member
type common name
['Utopia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?q WHERE { resource:Utopia property:cast_member ?q . ?q rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q523545
P166
Q618779
USER
What were received by Laurent Terzieff ?
(Q523545,P166,c(Q618779))
action filter_type
action find
entity Q523545
relation P166
type Q618779
['Q523545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q523545 property:P166 ?z }
Laurent Terzieff
action filter_type
action find
entity Laurent Terzieff
relation award received
type award
['Laurent Terzieff', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Laurent_Terzieff property:award_received ?z }
[]
award
Q13452531 Q13422140
SYSTEM
Commandeur des Arts et des Lettres‎, Officer of the National Order of Merit
Q13452531 Q13422140
(Q523545,P166,c(Q618779))
action filter_type
action find
entity Q523545
relation P166
type Q618779
[ANSWERS] were received by Laurent Terzieff
['Q523545', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q618779 . resource:Q523545 property:P166 ?z }
Commandeur des Arts et des Lettres‎ Officer of the National Order of Merit
Commandeur des Arts et des Lettres‎ and Officer of the National Order of Merit were received by Laurent Terzieff
Commandeur des Arts et des Lettres‎ Officer of the National Order of Merit
action filter_type
action find
entity Laurent Terzieff
relation award received
type award
['Laurent Terzieff', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:award . resource:Laurent_Terzieff property:award_received ?z }
[]
Clarification
Simple Question|Single Entity|Indirect
Q13422140
P17
Q15617994
USER
Which administrative territory is that award situated in ?
(Q13422140,P17,c(Q15617994))
action filter_type
action find
entity Q13422140
relation P17
type Q15617994
['Q13422140', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q13422140 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Officer of the National Order of Merit
action filter_type
action find
entity Officer of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Officer of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Officer_of_the_National_Order_of_Merit property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q13422140
SYSTEM
Did you mean Officer of the National Order of Merit ?
Q13452531 Q13422140
(Q13452531,P17,c(Q15617994)) (Q13422140,P17,c(Q15617994))
[ANSWER]
['Q13452531', 'P17', {'concept': 'Q15617994'}] ['Q13422140', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q13422140 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Commandeur des Arts et des Lettres‎ Officer of the National Order of Merit
Did you mean Officer of the National Order of Merit ?
Officer of the National Order of Merit
['Commandeur des Arts et des Lettres\u200e', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Officer of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Officer_of_the_National_Order_of_Merit property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q13422140,P17,c(Q15617994))
['Q13422140', 'P17', {'concept': 'Q15617994'}]
['Officer of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q13422140,P17,c(Q15617994))
action filter_type
action find
entity Q13422140
relation P17
type Q15617994
That award is situated in [ANSWER]
['Q13422140', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q13422140 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
France
That award is situated in France
France
action filter_type
action find
entity Officer of the National Order of Merit
relation country
type designation for an administrative territorial entity
['Officer of the National Order of Merit', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Officer_of_the_National_Order_of_Merit property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3016143
P27
Q502895
USER
Is Dario Grava a civilian of that administrative territory ?
(Q3016143,P27,Q142)
action is_in
entity Q142
action find
entity Q3016143
relation P27
['Q3016143', 'P27', 'Q142']
ASK WHERE { resource:Q3016143 property:P27 resource:Q142 }
France Dario Grava
action is_in
entity France
action find
entity Dario Grava
relation country of citizenship
['Dario Grava', 'country of citizenship', 'France']
ASK WHERE { resource:Dario_Grava property:country_of_citizenship resource:France }
[]
common name
SYSTEM
YES
(Q3016143,P27,Q142)
action is_in
entity Q142
action find
entity Q3016143
relation P27
[ANSWER]
['Q3016143', 'P27', 'Q142']
ASK WHERE { resource:Q3016143 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Dario Grava
relation country of citizenship
['Dario Grava', 'country of citizenship', 'France']
ASK WHERE { resource:Dario_Grava property:country_of_citizenship resource:France }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q710654 Q90 Q4220575
P19
Q56061
USER
Was Gérard Blain born at Paris and Kiltormer ?
(Q710654,P19,Q90) (Q710654,P19,Q4220575)
action is_in
entity Q710654
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q4220575
relation P19
['Q710654', 'P19', 'Q90'] ['Q710654', 'P19', 'Q4220575']
ASK WHERE { resource:Q710654 property:P19 resource:Q90 . resource:Q710654 property:P19 resource:Q4220575 }
Gérard Blain Paris Kiltormer
action is_in
entity Gérard Blain
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Kiltormer
relation place of birth
['Gérard Blain', 'place of birth', 'Paris'] ['Gérard Blain', 'place of birth', 'Kiltormer']
ASK WHERE { resource:Gérard_Blain property:place_of_birth resource:Paris . resource:Gérard_Blain property:place_of_birth resource:Kiltormer }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q710654,P19,Q90) (Q710654,P19,Q4220575)
action is_in
entity Q710654
action intersection
action find_reverse
entity Q90
relation P19
action find_reverse
entity Q4220575
relation P19
[ANSWER]
['Q710654', 'P19', 'Q90'] ['Q710654', 'P19', 'Q4220575']
ASK WHERE { resource:Q710654 property:P19 resource:Q90 . resource:Q710654 property:P19 resource:Q4220575 }
YES and NO respectively
action is_in
entity Gérard Blain
action intersection
action find_reverse
entity Paris
relation place of birth
action find_reverse
entity Kiltormer
relation place of birth
['Gérard Blain', 'place of birth', 'Paris'] ['Gérard Blain', 'place of birth', 'Kiltormer']
ASK WHERE { resource:Gérard_Blain property:place_of_birth resource:Paris . resource:Gérard_Blain property:place_of_birth resource:Kiltormer }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q3552767 Q632859 Q142
P495
Q15617994
USER
Is Schwenningen and France a country of origin of Utopia ?
(Q3552767,P495,Q632859) (Q3552767,P495,Q142)
action is_in
entity Q3552767
action intersection
action find_reverse
entity Q632859
relation P495
action find_reverse
entity Q142
relation P495
['Q3552767', 'P495', 'Q632859'] ['Q3552767', 'P495', 'Q142']
ASK WHERE { resource:Q3552767 property:P495 resource:Q632859 . resource:Q3552767 property:P495 resource:Q142 }
Utopia Schwenningen France
action is_in
entity Utopia
action intersection
action find_reverse
entity Schwenningen
relation country of origin
action find_reverse
entity France
relation country of origin
['Utopia', 'country of origin', 'Schwenningen'] ['Utopia', 'country of origin', 'France']
ASK WHERE { resource:Utopia property:country_of_origin resource:Schwenningen . resource:Utopia property:country_of_origin resource:France }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q3552767,P495,Q632859) (Q3552767,P495,Q142)
action is_in
entity Q3552767
action intersection
action find_reverse
entity Q632859
relation P495
action find_reverse
entity Q142
relation P495
[ANSWER]
['Q3552767', 'P495', 'Q632859'] ['Q3552767', 'P495', 'Q142']
ASK WHERE { resource:Q3552767 property:P495 resource:Q632859 . resource:Q3552767 property:P495 resource:Q142 }
NO and YES respectively
action is_in
entity Utopia
action intersection
action find_reverse
entity Schwenningen
relation country of origin
action find_reverse
entity France
relation country of origin
['Utopia', 'country of origin', 'Schwenningen'] ['Utopia', 'country of origin', 'France']
ASK WHERE { resource:Utopia property:country_of_origin resource:Schwenningen . resource:Utopia property:country_of_origin resource:France }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q523545 Q142
P27
Q15617994
USER
Is Laurent Terzieff an inhabitant of France ?
(Q523545,P27,Q142)
action is_in
entity Q142
action find
entity Q523545
relation P27
['Q523545', 'P27', 'Q142']
ASK WHERE { resource:Q523545 property:P27 resource:Q142 }
Laurent Terzieff France
action is_in
entity France
action find
entity Laurent Terzieff
relation country of citizenship
['Laurent Terzieff', 'country of citizenship', 'France']
ASK WHERE { resource:Laurent_Terzieff property:country_of_citizenship resource:France }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q523545,P27,Q142)
action is_in
entity Q142
action find
entity Q523545
relation P27
[ANSWER]
['Q523545', 'P27', 'Q142']
ASK WHERE { resource:Q523545 property:P27 resource:Q142 }
Yes
action is_in
entity France
action find
entity Laurent Terzieff
relation country of citizenship
['Laurent Terzieff', 'country of citizenship', 'France']
ASK WHERE { resource:Laurent_Terzieff property:country_of_citizenship resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q142
P463
Q484652 Q180516
USER
How many international organizations or rooms were France a member of ?
(Q142,P463,c(Q484652)) (Q142,P463,c(Q180516))
action count
action union
action filter_type
action find
entity Q142
relation P463
type Q484652
action filter_type
action find
entity Q142
relation P463
type Q180516
['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { resource:Q142 property:P463 ?s . ?s rdf:type ontology:Q484652 } UNION { resource:Q142 property:P463 ?s . ?s rdf:type ontology:Q180516 } }
France
action count
action union
action filter_type
action find
entity France
relation member of
type international organization
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { resource:France property:member_of ?s . ?s rdf:type ontology:international_organization } UNION { resource:France property:member_of ?s . ?s rdf:type ontology:room } }
[]
international organization room
SYSTEM
10
Q81299 Q19771 Q141720 Q1065 Q188822 Q37143 Q134102 Q7184 Q42262 Q1043527
(Q142,P463,c(Q484652)) (Q142,P463,c(Q180516))
action count
action union
action filter_type
action find
entity Q142
relation P463
type Q484652
action filter_type
action find
entity Q142
relation P463
type Q180516
[ANSWER]
['Q142', 'P463', {'concept': 'Q484652'}] ['Q142', 'P463', {'concept': 'Q180516'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { resource:Q142 property:P463 ?s . ?s rdf:type ontology:Q484652 } UNION { resource:Q142 property:P463 ?s . ?s rdf:type ontology:Q180516 } }
Organization for Security and Co-operation in Europe G20 European Air Transport Command United Nations Asian Development Bank G8 Organisation internationale de la Francophonie North Atlantic Treaty Organisation European Space Agency Multilateral Investment Guarantee Agency
10
action count
action union
action filter_type
action find
entity France
relation member of
type international organization
action filter_type
action find
entity France
relation member of
type room
['France', 'member of', {'concept': 'international organization'}] ['France', 'member of', {'concept': 'room'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?o ) WHERE { { resource:France property:member_of ?s . ?s rdf:type ontology:international_organization } UNION { resource:France property:member_of ?s . ?s rdf:type ontology:room } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q142 Q3769
P27
Q502895
USER
How many people are a native of France and French Guiana ?
(c(Q502895),P27,Q142) (c(Q502895),P27,Q3769)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P27
type Q502895
action filter_type
action find_reverse
entity Q3769
relation P27
type Q502895
[{'concept': 'Q502895'}, 'P27', 'Q142'] [{'concept': 'Q502895'}, 'P27', 'Q3769']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P27 resource:Q142 . ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q3769 . ?w rdf:type ontology:Q502895 }
France French Guiana
action count
action intersection
action filter_type
action find_reverse
entity France
relation country of citizenship
type common name
action filter_type
action find_reverse
entity French Guiana
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'France'] [{'concept': 'common name'}, 'country of citizenship', 'French Guiana']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:country_of_citizenship resource:France . ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:French_Guiana . ?w rdf:type ontology:common_name }
[]
common name
SYSTEM
2
Q983363 Q17274709
(c(Q502895),P27,Q142) (c(Q502895),P27,Q3769)
action count
action intersection
action filter_type
action find_reverse
entity Q142
relation P27
type Q502895
action filter_type
action find_reverse
entity Q3769
relation P27
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P27', 'Q142'] [{'concept': 'Q502895'}, 'P27', 'Q3769']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:P27 resource:Q142 . ?w rdf:type ontology:Q502895 . ?w property:P27 resource:Q3769 . ?w rdf:type ontology:Q502895 }
Léon Damas Mike Maignan
2
action count
action intersection
action filter_type
action find_reverse
entity France
relation country of citizenship
type common name
action filter_type
action find_reverse
entity French Guiana
relation country of citizenship
type common name
[{'concept': 'common name'}, 'country of citizenship', 'France'] [{'concept': 'common name'}, 'country of citizenship', 'French Guiana']
SELECT DISTINCT ( COUNT ( ?w ) AS ?i ) WHERE { ?w property:country_of_citizenship resource:France . ?w rdf:type ontology:common_name . ?w property:country_of_citizenship resource:French_Guiana . ?w rdf:type ontology:common_name }
[]