Simple Question (Direct)
Simple Question
Q6114266
P20
Q5119
USER
Where did the demise of Jack Nadel occur ?
(Q6114266,P20,c(Q5119))
action filter_type
action find
entity Q6114266
relation P20
type Q5119
['Q6114266', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q5119 . resource:Q6114266 property:P20 ?l }
Jack Nadel
action filter_type
action find
entity Jack Nadel
relation place of death
type capital
['Jack Nadel', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:capital . resource:Jack_Nadel property:place_of_death ?l }
[]
capital
Q159288
SYSTEM
Santa Barbara
Q159288
(Q6114266,P20,c(Q5119))
action filter_type
action find
entity Q6114266
relation P20
type Q5119
The demise of Jack Nadel occurred in [ANSWER]
['Q6114266', 'P20', {'concept': 'Q5119'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q5119 . resource:Q6114266 property:P20 ?l }
Santa Barbara
The demise of Jack Nadel occurred in Santa Barbara
Santa Barbara
action filter_type
action find
entity Jack Nadel
relation place of death
type capital
['Jack Nadel', 'place of death', {'concept': 'capital'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:capital . resource:Jack_Nadel property:place_of_death ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6114266
P19
Q56061
USER
Which administrative territory is the birthplace of that person ?
(Q159288,P19,c(Q56061))
action filter_type
action find
entity Q6114266
relation P19
type Q56061
['Q159288', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6114266 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Jack Nadel
action filter_type
action find
entity Jack Nadel
relation place of birth
type administrative territorial entity
['Santa Barbara', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jack_Nadel property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q159288,P19,c(Q56061))
action filter_type
action find
entity Q6114266
relation P19
type Q56061
[ANSWER] is the birthplace of that person
['Q159288', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q6114266 property:P19 ?w . ?w rdf:type ontology:Q56061 }
New York City
New York City is the birthplace of that person
New York City
action filter_type
action find
entity Jack Nadel
relation place of birth
type administrative territorial entity
['Santa Barbara', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Jack_Nadel property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q60 Q585 Q41776
P190
Q56061
USER
Is that administrative territory twin town of Oslo and Ringenhain ?
(Q60,P190,Q585) (Q60,P190,Q41776)
action is_in
entity Q60
action intersection
action find_reverse
entity Q585
relation P190
action find_reverse
entity Q41776
relation P190
['Q60', 'P190', 'Q585'] ['Q60', 'P190', 'Q41776']
ASK WHERE { resource:Q60 property:P190 resource:Q585 . resource:Q60 property:P190 resource:Q41776 }
New York City Oslo Ringenhain
action is_in
entity New York City
action intersection
action find_reverse
entity Oslo
relation sister city
action find_reverse
entity Ringenhain
relation sister city
['New York City', 'sister city', 'Oslo'] ['New York City', 'sister city', 'Ringenhain']
ASK WHERE { resource:New_York_City property:sister_city resource:Oslo . resource:New_York_City property:sister_city resource:Ringenhain }
[]
administrative territorial entity
SYSTEM
YES and NO respectively
(Q60,P190,Q585) (Q60,P190,Q41776)
action is_in
entity Q60
action intersection
action find_reverse
entity Q585
relation P190
action find_reverse
entity Q41776
relation P190
[ANSWER]
['Q60', 'P190', 'Q585'] ['Q60', 'P190', 'Q41776']
ASK WHERE { resource:Q60 property:P190 resource:Q585 . resource:Q60 property:P190 resource:Q41776 }
YES and NO respectively
action is_in
entity New York City
action intersection
action find_reverse
entity Oslo
relation sister city
action find_reverse
entity Ringenhain
relation sister city
['New York City', 'sister city', 'Oslo'] ['New York City', 'sister city', 'Ringenhain']
ASK WHERE { resource:New_York_City property:sister_city resource:Oslo . resource:New_York_City property:sister_city resource:Ringenhain }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6114266
P734
Q82799
USER
Who is associated with Jack Nadel ?
(Q6114266,P734,c(Q82799))
action filter_type
action find
entity Q6114266
relation P734
type Q82799
['Q6114266', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q6114266 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Jack Nadel
action filter_type
action find
entity Jack Nadel
relation family name
type name
['Jack Nadel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Jack_Nadel property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q13577444
SYSTEM
Nadel
Q13577444
(Q6114266,P734,c(Q82799))
action filter_type
action find
entity Q6114266
relation P734
type Q82799
[ANSWER] is associated with Jack [ANSWER]
['Q6114266', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q6114266 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Nadel
Nadel is associated with Jack Nadel
Nadel
action filter_type
action find
entity Jack Nadel
relation family name
type name
['Jack Nadel', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Jack_Nadel property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q7351152
Q82799
USER
And also tell me about Robert Wilson?
(Q7351152,P734,c(Q82799))
action filter_type
action find
entity Q7351152
relation P734
type Q82799
['Q7351152', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q7351152 property:P734 ?q }
Robert Wilson
action filter_type
action find
entity Robert Wilson
relation family name
type name
['Robert Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Robert_Wilson property:family_name ?q }
[]
name
Q1645480
SYSTEM
Wilson
Q1645480
(Q7351152,P734,c(Q82799))
action filter_type
action find
entity Q7351152
relation P734
type Q82799
[ANSWER]
['Q7351152', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q82799 . resource:Q7351152 property:P734 ?q }
Wilson
Wilson
action filter_type
action find
entity Robert Wilson
relation family name
type name
['Robert Wilson', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:name . resource:Robert_Wilson property:family_name ?q }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1645480 Q3555104 Q56512
P407
Q34770
USER
Is that name in Vulture and Anêm language ?
(Q1645480,P407,Q3555104) (Q1645480,P407,Q56512)
action is_in
entity Q1645480
action intersection
action find_reverse
entity Q3555104
relation P407
action find_reverse
entity Q56512
relation P407
['Q1645480', 'P407', 'Q3555104'] ['Q1645480', 'P407', 'Q56512']
ASK WHERE { resource:Q1645480 property:P407 resource:Q3555104 . resource:Q1645480 property:P407 resource:Q56512 }
Wilson Vulture Anêm language
action is_in
entity Wilson
action intersection
action find_reverse
entity Vulture
relation language of work or name
action find_reverse
entity Anêm language
relation language of work or name
['Wilson', 'language of work or name', 'Vulture'] ['Wilson', 'language of work or name', 'Anêm language']
ASK WHERE { resource:Wilson property:language_of_work_or_name resource:Vulture . resource:Wilson property:language_of_work_or_name resource:Anêm_language }
[]
language
SYSTEM
NO
(Q1645480,P407,Q3555104) (Q1645480,P407,Q56512)
action is_in
entity Q1645480
action intersection
action find_reverse
entity Q3555104
relation P407
action find_reverse
entity Q56512
relation P407
[ANSWER]
['Q1645480', 'P407', 'Q3555104'] ['Q1645480', 'P407', 'Q56512']
ASK WHERE { resource:Q1645480 property:P407 resource:Q3555104 . resource:Q1645480 property:P407 resource:Q56512 }
No
action is_in
entity Wilson
action intersection
action find_reverse
entity Vulture
relation language of work or name
action find_reverse
entity Anêm language
relation language of work or name
['Wilson', 'language of work or name', 'Vulture'] ['Wilson', 'language of work or name', 'Anêm language']
ASK WHERE { resource:Wilson property:language_of_work_or_name resource:Vulture . resource:Wilson property:language_of_work_or_name resource:Anêm_language }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q11060274 Q3305213
USER
Which names are expressed in atleast 30 prints and paintings ?
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 30
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P180 ?y . ?n rdf:type ontology:Q11060274 . ?y rdf:type ontology:Q82799 } UNION { ?n property:P180 ?y . ?y rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?y } . FILTER ( ?c >= 30 ) }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 30
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:depicts ?y . ?n rdf:type ontology:print . ?y rdf:type ontology:name } UNION { ?n property:depicts ?y . ?y rdf:type ontology:name . ?n rdf:type ontology:painting } } GROUP BY ?y } . FILTER ( ?c >= 30 ) }
[]
name print painting
Q5 Q726
SYSTEM
human, horse
Q5 Q726
(c(Q11060274)|c(Q3305213),P180,c(Q82799))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
value 30
[ANSWERS] are expressed in atleast 30 prints and paintings
[[{'concept': 'Q11060274'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P180 ?y . ?n rdf:type ontology:Q11060274 . ?y rdf:type ontology:Q82799 } UNION { ?n property:P180 ?y . ?y rdf:type ontology:Q82799 . ?n rdf:type ontology:Q3305213 } } GROUP BY ?y } . FILTER ( ?c >= 30 ) }
human horse
Human and horse are expressed in atleast 30 prints and paintings
human horse
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type painting
value 30
[[{'concept': 'print'}, {'concept': 'painting'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:depicts ?y . ?n rdf:type ontology:print . ?y rdf:type ontology:name } UNION { ?n property:depicts ?y . ?y rdf:type ontology:name . ?n rdf:type ontology:painting } } GROUP BY ?y } . FILTER ( ?c >= 30 ) }
[]