Simple Question (Direct)
Simple Question
Q3313197
P27
Q15617994
USER
Which administrative territory is the native country of Mike Anderson ?
(Q3313197,P27,c(Q15617994))
action filter_type
action find
entity Q3313197
relation P27
type Q15617994
['Q3313197', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3313197 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Mike Anderson
action filter_type
action find
entity Mike Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Mike Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Mike_Anderson property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3313197,P27,c(Q15617994))
action filter_type
action find
entity Q3313197
relation P27
type Q15617994
The [ANSWER] is the native country of Mike Anderson
['Q3313197', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q3313197 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Mike Anderson
United States of America
action filter_type
action find
entity Mike Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Mike Anderson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Mike_Anderson property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3313197
P734
Q82799
USER
Who has the surname that person ?
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q3313197
relation P734
type Q82799
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q3313197 property:P734 ?i }
Mike Anderson
action filter_type
action find
entity Mike Anderson
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Mike_Anderson property:family_name ?i }
[]
name
Q1848748
SYSTEM
Anderson
Q1848748
(Q30,P734,c(Q82799))
action filter_type
action find
entity Q3313197
relation P734
type Q82799
[ANSWER] has the surname that person
['Q30', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q3313197 property:P734 ?i }
Anderson
Anderson has the surname that person
Anderson
action filter_type
action find
entity Mike Anderson
relation family name
type name
['United States of America', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Mike_Anderson property:family_name ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3313197
P241
Q781132
USER
Which military branch is that person affiliated to ?
(Q1848748,P241,c(Q781132))
action filter_type
action find
entity Q3313197
relation P241
type Q781132
['Q1848748', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q3313197 property:P241 ?l . ?l rdf:type ontology:Q781132 }
Mike Anderson
action filter_type
action find
entity Mike Anderson
relation military branch
type military branch
['Anderson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Anderson property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q1848748,P241,c(Q781132))
action filter_type
action find
entity Q3313197
relation P241
type Q781132
That person is affiliated with [ANSWER]
['Q1848748', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?l WHERE { resource:Q3313197 property:P241 ?l . ?l rdf:type ontology:Q781132 }
United States Marine Corps
That person is affiliated with United States Marine Corps
United States Marine Corps
action filter_type
action find
entity Mike Anderson
relation military branch
type military branch
['Anderson', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?l WHERE { resource:Mike_Anderson property:military_branch ?l . ?l rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q11218 Q6150388 Q6163861
P112
Q502895
USER
Was United States Marine Corps established by Samuel Nicholas and Jason of Cyrene ?
(Q11218,P112,Q6150388) (Q11218,P112,Q6163861)
action is_in
entity Q11218
action intersection
action find_reverse
entity Q6150388
relation P112
action find_reverse
entity Q6163861
relation P112
['Q11218', 'P112', 'Q6150388'] ['Q11218', 'P112', 'Q6163861']
ASK WHERE { resource:Q11218 property:P112 resource:Q6150388 . resource:Q11218 property:P112 resource:Q6163861 }
United States Marine Corps Samuel Nicholas Jason of Cyrene
action is_in
entity United States Marine Corps
action intersection
action find_reverse
entity Samuel Nicholas
relation founder
action find_reverse
entity Jason of Cyrene
relation founder
['United States Marine Corps', 'founder', 'Samuel Nicholas'] ['United States Marine Corps', 'founder', 'Jason of Cyrene']
ASK WHERE { resource:United_States_Marine_Corps property:founder resource:Samuel_Nicholas . resource:United_States_Marine_Corps property:founder resource:Jason_of_Cyrene }
[]
common name
SYSTEM
YES and NO respectively
(Q11218,P112,Q6150388) (Q11218,P112,Q6163861)
action is_in
entity Q11218
action intersection
action find_reverse
entity Q6150388
relation P112
action find_reverse
entity Q6163861
relation P112
[ANSWER]
['Q11218', 'P112', 'Q6150388'] ['Q11218', 'P112', 'Q6163861']
ASK WHERE { resource:Q11218 property:P112 resource:Q6150388 . resource:Q11218 property:P112 resource:Q6163861 }
YES and NO respectively
action is_in
entity United States Marine Corps
action intersection
action find_reverse
entity Samuel Nicholas
relation founder
action find_reverse
entity Jason of Cyrene
relation founder
['United States Marine Corps', 'founder', 'Samuel Nicholas'] ['United States Marine Corps', 'founder', 'Jason of Cyrene']
ASK WHERE { resource:United_States_Marine_Corps property:founder resource:Samuel_Nicholas . resource:United_States_Marine_Corps property:founder resource:Jason_of_Cyrene }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q38 Q796
P530
Q15617994
USER
Does United States of America have diplomatic associations with Italy and Iraq ?
(Q30,P530,Q38) (Q30,P530,Q796)
action is_in
entity Q30
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q796
relation P530
['Q30', 'P530', 'Q38'] ['Q30', 'P530', 'Q796']
ASK WHERE { resource:Q30 property:P530 resource:Q38 . resource:Q30 property:P530 resource:Q796 }
United States of America Italy Iraq
action is_in
entity United States of America
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Iraq
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Italy'] ['United States of America', 'diplomatic relation', 'Iraq']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Italy . resource:United_States_of_America property:diplomatic_relation resource:Iraq }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q30,P530,Q38) (Q30,P530,Q796)
action is_in
entity Q30
action intersection
action find_reverse
entity Q38
relation P530
action find_reverse
entity Q796
relation P530
[ANSWER]
['Q30', 'P530', 'Q38'] ['Q30', 'P530', 'Q796']
ASK WHERE { resource:Q30 property:P530 resource:Q38 . resource:Q30 property:P530 resource:Q796 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity Italy
relation diplomatic relation
action find_reverse
entity Iraq
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Italy'] ['United States of America', 'diplomatic relation', 'Iraq']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Italy . resource:United_States_of_America property:diplomatic_relation resource:Iraq }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1848748
P407
Q34770
USER
How many languages are the languages of work for Anderson ?
(Q1848748,P407,c(Q34770))
action count
action filter_type
action find
entity Q1848748
relation P407
type Q34770
['Q1848748', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q1848748 property:P407 ?v . ?v rdf:type ontology:Q34770 }
Anderson
action count
action filter_type
action find
entity Anderson
relation language of work or name
type language
['Anderson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Anderson property:language_of_work_or_name ?v . ?v rdf:type ontology:language }
[]
language
SYSTEM
1
Q1860
(Q1848748,P407,c(Q34770))
action count
action filter_type
action find
entity Q1848748
relation P407
type Q34770
[ANSWER]
['Q1848748', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q1848748 property:P407 ?v . ?v rdf:type ontology:Q34770 }
English
1
action count
action filter_type
action find
entity Anderson
relation language of work or name
type language
['Anderson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Anderson property:language_of_work_or_name ?v . ?v rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3313197 Q7169237
P106
Q12737077
USER
Is Permanent Representative of Finland to the United Nations the job of Mike Anderson ?
(Q3313197,P106,Q7169237)
action is_in
entity Q7169237
action find
entity Q3313197
relation P106
['Q3313197', 'P106', 'Q7169237']
ASK WHERE { resource:Q3313197 property:P106 resource:Q7169237 }
Mike Anderson Permanent Representative of Finland to the United Nations
action is_in
entity Permanent Representative of Finland to the United Nations
action find
entity Mike Anderson
relation occupation
['Mike Anderson', 'occupation', 'Permanent Representative of Finland to the United Nations']
ASK WHERE { resource:Mike_Anderson property:occupation resource:Permanent_Representative_of_Finland_to_the_United_Nations }
[]
occupation
SYSTEM
NO
(Q3313197,P106,Q7169237)
action is_in
entity Q7169237
action find
entity Q3313197
relation P106
[ANSWER]
['Q3313197', 'P106', 'Q7169237']
ASK WHERE { resource:Q3313197 property:P106 resource:Q7169237 }
No
action is_in
entity Permanent Representative of Finland to the United Nations
action find
entity Mike Anderson
relation occupation
['Mike Anderson', 'occupation', 'Permanent Representative of Finland to the United Nations']
ASK WHERE { resource:Mike_Anderson property:occupation resource:Permanent_Representative_of_Finland_to_the_United_Nations }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q15709879
USER
How many names are demonstrated in around 1 art genres and artwork series ?
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?a ) WHERE { { ?k property:P180 ?u . ?u rdf:type ontology:Q82799 . ?k rdf:type ontology:Q1792379 } UNION { ?u rdf:type ontology:Q82799 . ?k rdf:type ontology:Q15709879 . ?k property:P180 ?u } } GROUP BY ?u } . FILTER ( ?a = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?a ) WHERE { { ?k property:depicts ?u . ?u rdf:type ontology:name . ?k rdf:type ontology:art_genre } UNION { ?u rdf:type ontology:name . ?k rdf:type ontology:artwork_series . ?k property:depicts ?u } } GROUP BY ?u } . FILTER ( ?a = 1 ) }
[]
name art genre artwork series
SYSTEM
54
Q13219075 Q134609 Q5 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q43115 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q1792379)|c(Q15709879),P180,c(Q82799))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?a ) WHERE { { ?k property:P180 ?u . ?u rdf:type ontology:Q82799 . ?k rdf:type ontology:Q1792379 } UNION { ?u rdf:type ontology:Q82799 . ?k rdf:type ontology:Q15709879 . ?k property:P180 ?u } } GROUP BY ?u } . FILTER ( ?a = 1 ) }
octopus Cynara scolymus human toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket saint Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
54
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type art genre
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'art genre'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?s ) WHERE { { SELECT DISTINCT ?u ( COUNT ( ?k ) AS ?a ) WHERE { { ?k property:depicts ?u . ?u rdf:type ontology:name . ?k rdf:type ontology:art_genre } UNION { ?u rdf:type ontology:name . ?k rdf:type ontology:artwork_series . ?k property:depicts ?u } } GROUP BY ?u } . FILTER ( ?a = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1848748
P407
Q34770
USER
Which language is Anderson composed in ?
(Q1848748,P407,c(Q34770))
action filter_type
action find
entity Q1848748
relation P407
type Q34770
['Q1848748', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1848748 property:P407 ?n . ?n rdf:type ontology:Q34770 }
Anderson
action filter_type
action find
entity Anderson
relation language of work or name
type language
['Anderson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Anderson property:language_of_work_or_name ?n . ?n rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q1848748,P407,c(Q34770))
action filter_type
action find
entity Q1848748
relation P407
type Q34770
Anderson is composed of [ANSWER]
['Q1848748', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?n WHERE { resource:Q1848748 property:P407 ?n . ?n rdf:type ontology:Q34770 }
English
Anderson is composed of English
English
action filter_type
action find
entity Anderson
relation language of work or name
type language
['Anderson', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?n WHERE { resource:Anderson property:language_of_work_or_name ?n . ?n rdf:type ontology:language }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2703557
Q34770
USER
And how about Grey?
(Q2703557,P407,c(Q34770))
action filter_type
action find
entity Q2703557
relation P407
type Q34770
['Q2703557', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q2703557 property:P407 ?r . ?r rdf:type ontology:Q34770 }
Grey
action filter_type
action find
entity Grey
relation language of work or name
type language
['Grey', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Grey property:language_of_work_or_name ?r . ?r rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q2703557,P407,c(Q34770))
action filter_type
action find
entity Q2703557
relation P407
type Q34770
[ANSWER]
['Q2703557', 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?r WHERE { resource:Q2703557 property:P407 ?r . ?r rdf:type ontology:Q34770 }
English
English
action filter_type
action find
entity Grey
relation language of work or name
type language
['Grey', 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?r WHERE { resource:Grey property:language_of_work_or_name ?r . ?r rdf:type ontology:language }
[]