Simple Question (Direct)
Simple Question
Q514006
P19
Q515
USER
Which city was Masaru Furukawa born at ?
(Q514006,P19,c(Q515))
action filter_type
action find
entity Q514006
relation P19
type Q515
['Q514006', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q515 . resource:Q514006 property:P19 ?q }
Masaru Furukawa
action filter_type
action find
entity Masaru Furukawa
relation place of birth
type city
['Masaru Furukawa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:city . resource:Masaru_Furukawa property:place_of_birth ?q }
[]
city
Q842098
SYSTEM
Hashimoto
Q842098
(Q514006,P19,c(Q515))
action filter_type
action find
entity Q514006
relation P19
type Q515
Masaru Furukawa was born in [ANSWER]
['Q514006', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q515 . resource:Q514006 property:P19 ?q }
Hashimoto
Masaru Furukawa was born in Hashimoto
Hashimoto
action filter_type
action find
entity Masaru Furukawa
relation place of birth
type city
['Masaru Furukawa', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:city . resource:Masaru_Furukawa property:place_of_birth ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q514006
P734
Q82799
USER
Who is associated with Masaru Furukawa ?
(Q514006,P734,c(Q82799))
action filter_type
action find
entity Q514006
relation P734
type Q82799
['Q514006', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q514006 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Masaru Furukawa
action filter_type
action find
entity Masaru Furukawa
relation family name
type name
['Masaru Furukawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Masaru_Furukawa property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q16870059
SYSTEM
Furukawa
Q16870059
(Q514006,P734,c(Q82799))
action filter_type
action find
entity Q514006
relation P734
type Q82799
[ANSWER] is associated with Masaru [ANSWER]
['Q514006', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q514006 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Furukawa
Furukawa is associated with Masaru Furukawa
Furukawa
action filter_type
action find
entity Masaru Furukawa
relation family name
type name
['Masaru Furukawa', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Masaru_Furukawa property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q514006
P641
Q349
USER
What was the sport that Masaru Furukawa was a part of ?
(Q514006,P641,c(Q349))
action filter_type
action find
entity Q514006
relation P641
type Q349
['Q514006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q514006 property:P641 ?k }
Masaru Furukawa
action filter_type
action find
entity Masaru Furukawa
relation sport
type sport
['Masaru Furukawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Masaru_Furukawa property:sport ?k }
[]
sport
Q31920
SYSTEM
swimming
Q31920
(Q514006,P641,c(Q349))
action filter_type
action find
entity Q514006
relation P641
type Q349
The sport that Masaru Furukawa was a part of was h [ANSWER]
['Q514006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q349 . resource:Q514006 property:P641 ?k }
swimming
The sport that Masaru Furukawa was a part of was h swimming
swimming
action filter_type
action find
entity Masaru Furukawa
relation sport
type sport
['Masaru Furukawa', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sport . resource:Masaru_Furukawa property:sport ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q842098
P17
Q15617994
USER
Which administrative territory is Hashimoto a part of ?
(Q842098,P17,c(Q15617994))
action filter_type
action find
entity Q842098
relation P17
type Q15617994
['Q842098', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q842098 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Hashimoto
action filter_type
action find
entity Hashimoto
relation country
type designation for an administrative territorial entity
['Hashimoto', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Hashimoto property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q842098,P17,c(Q15617994))
action filter_type
action find
entity Q842098
relation P17
type Q15617994
Which administrative territory is Hashimoto a part of
['Q842098', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q842098 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Japan
Which administrative territory is Hashimoto a part of
Japan
action filter_type
action find
entity Hashimoto
relation country
type designation for an administrative territorial entity
['Hashimoto', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Hashimoto property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18959332
Q15617994
USER
And also tell me about Zwaantjesdreef?
(Q18959332,P17,c(Q15617994))
action filter_type
action find
entity Q18959332
relation P17
type Q15617994
['Q18959332', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q18959332 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Zwaantjesdreef
action filter_type
action find
entity Zwaantjesdreef
relation country
type designation for an administrative territorial entity
['Zwaantjesdreef', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Zwaantjesdreef property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q18959332,P17,c(Q15617994))
action filter_type
action find
entity Q18959332
relation P17
type Q15617994
[ANSWER]
['Q18959332', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q18959332 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Zwaantjesdreef
relation country
type designation for an administrative territorial entity
['Zwaantjesdreef', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Zwaantjesdreef property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P35
Q502895
USER
How many people are the heads of state of that administrative territory ?
(Q55,P35,c(Q502895))
action count
action filter_type
action find
entity Q55
relation P35
type Q502895
['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q55 property:P35 ?y }
action count
action filter_type
action find
entity Netherlands
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:common_name . resource:Netherlands property:head_of_state ?y }
[]
common name
SYSTEM
4
Q154952 Q29574 Q154946 Q150747
(Q55,P35,c(Q502895))
action count
action filter_type
action find
entity Q55
relation P35
type Q502895
[ANSWER]
['Q55', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:Q502895 . resource:Q55 property:P35 ?y }
Willem-Alexander of the Netherlands Beatrix of the Netherlands Juliana of the Netherlands Wilhelmina of the Netherlands
4
action count
action filter_type
action find
entity Netherlands
relation head of state
type common name
['Netherlands', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { ?y rdf:type ontology:common_name . resource:Netherlands property:head_of_state ?y }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q82799 Q3305213 Q15709879
USER
Which names are expressed in min number of paintings or artwork series ?
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?e ) WHERE { { ?i property:P180 ?n . ?n rdf:type ontology:Q82799 . ?i rdf:type ontology:Q3305213 } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q15709879 . ?n rdf:type ontology:Q82799 } } GROUP BY ?n } } . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } . ?w rdf:type ?h } GROUP BY ?d } . FILTER ( ?y = ?q ) }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?e ) WHERE { { ?i property:depicts ?n . ?n rdf:type ontology:name . ?i rdf:type ontology:painting } UNION { ?i property:depicts ?n . ?i rdf:type ontology:artwork_series . ?n rdf:type ontology:name } } GROUP BY ?n } } . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:painting ) ( ontology:artwork_series ) } . ?w rdf:type ?h } GROUP BY ?d } . FILTER ( ?y = ?q ) }
[]
name painting artwork series
Q1807269 Q134609 Q11946202
SYSTEM
leek, Cynara scolymus, butterfly
Q13219075 Q134609 Q6453151 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7369 Q11946202 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q8331 Q846664 Q3116510 Q1865281 Q1367 Q1192868 Q9394 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q5070208 Q10968813
(c(Q3305213)|c(Q15709879),P180,c(Q82799))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
[ANSWERS] are expressed in min number of paintings or artwork series
[[{'concept': 'Q3305213'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?e ) WHERE { { ?i property:P180 ?n . ?n rdf:type ontology:Q82799 . ?i rdf:type ontology:Q3305213 } UNION { ?i property:P180 ?n . ?i rdf:type ontology:Q15709879 . ?n rdf:type ontology:Q82799 } } GROUP BY ?n } } . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:Q3305213 ) ( ontology:Q15709879 ) } . ?w rdf:type ?h } GROUP BY ?d } . FILTER ( ?y = ?q ) }
octopus Cynara scolymus toad duck mule wolf Partridge sugarcane shrimp dolphin butterfly trout cattle goose Boy cannoneer leek fox hawk frog whale monkey clam rabbit magpie slug lizard antelope Yellow jacket Tree squirrel mouflon elephant vulture pheasant thistle snail Scipio locust wasp kangaroo jay
Leek, Cynara scolymus and butterfly are expressed in min number of paintings or artwork series
leek Cynara scolymus butterfly
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type name
type painting
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
[[{'concept': 'painting'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?e ) AS ?q ) { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?e ) WHERE { { ?i property:depicts ?n . ?n rdf:type ontology:name . ?i rdf:type ontology:painting } UNION { ?i property:depicts ?n . ?i rdf:type ontology:artwork_series . ?n rdf:type ontology:name } } GROUP BY ?n } } . { SELECT DISTINCT ?d ( COUNT ( ?w ) AS ?y ) WHERE { VALUES ( ?h ) { ( ontology:painting ) ( ontology:artwork_series ) } . ?w rdf:type ?h } GROUP BY ?d } . FILTER ( ?y = ?q ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q1792379 Q838948
USER
Which names are expressed in around 7 art genres and works of art ?
(c(Q1792379)|c(Q838948),P180,c(Q82799))
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 Q838948
value 7
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1792379 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?m = 7 ) }
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 work of art
value 7
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:art_genre ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?m = 7 ) }
[]
name art genre work of art
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
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(Q838948),P180,c(Q82799))
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 Q838948
value 7
[ANSWERS] are expressed in around 7 art genres and works of art
[[{'concept': 'Q1792379'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:Q1792379 ) ( ontology:Q838948 ) } } GROUP BY ?w } . FILTER ( ?m = 7 ) }
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
Dog, leek and magi are expressed in around 7 art genres and works of art
dog leek magi
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 work of art
value 7
[[{'concept': 'art genre'}, {'concept': 'work of art'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?m ) WHERE { ?p rdf:type ?q . VALUES ( ?q ) { ( ontology:art_genre ) ( ontology:work_of_art ) } } GROUP BY ?w } . FILTER ( ?m = 7 ) }
[]