Simple Question (Direct)
Simple Question
Q8063962
P734
Q82799
USER
Which name is associated with Zachary James ?
(Q8063962,P734,c(Q82799))
action filter_type
action find
entity Q8063962
relation P734
type Q82799
['Q8063962', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q8063962 property:P734 ?v . ?v rdf:type ontology:Q82799 }
Zachary James
action filter_type
action find
entity Zachary James
relation family name
type name
['Zachary James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Zachary_James property:family_name ?v . ?v rdf:type ontology:name }
[]
name
Q12188082
SYSTEM
James
Q12188082
(Q8063962,P734,c(Q82799))
action filter_type
action find
entity Q8063962
relation P734
type Q82799
[ANSWER] is associated with Zachary [ANSWER]
['Q8063962', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?v WHERE { resource:Q8063962 property:P734 ?v . ?v rdf:type ontology:Q82799 }
James
James is associated with Zachary James
James
action filter_type
action find
entity Zachary James
relation family name
type name
['Zachary James', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?v WHERE { resource:Zachary_James property:family_name ?v . ?v rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12188082
P361
Q853614
USER
What is that name a portion of ?
(Q12188082,P361,c(Q853614))
action filter_type
action find
entity Q12188082
relation P361
type Q853614
['Q12188082', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?u WHERE { resource:Q12188082 property:P361 ?u . ?u rdf:type ontology:Q853614 }
James
action filter_type
action find
entity James
relation part of
type identifier
['James', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?u WHERE { resource:James property:part_of ?u . ?u rdf:type ontology:identifier }
[]
identifier
Q18197979
SYSTEM
James
Q18197979
(Q12188082,P361,c(Q853614))
action filter_type
action find
entity Q12188082
relation P361
type Q853614
That name a portion of is named [ANSWER]
['Q12188082', 'P361', {'concept': 'Q853614'}]
SELECT DISTINCT ?u WHERE { resource:Q12188082 property:P361 ?u . ?u rdf:type ontology:Q853614 }
James
That name a portion of is named James
James
action filter_type
action find
entity James
relation part of
type identifier
['James', 'part of', {'concept': 'identifier'}]
SELECT DISTINCT ?u WHERE { resource:James property:part_of ?u . ?u rdf:type ontology:identifier }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q18197979 Q182695 Q1860
P407
Q34770
USER
Does that identifier uses Late Old Japanese and English as language ?
(Q18197979,P407,Q182695) (Q18197979,P407,Q1860)
action is_in
entity Q18197979
action intersection
action find_reverse
entity Q182695
relation P407
action find_reverse
entity Q1860
relation P407
['Q18197979', 'P407', 'Q182695'] ['Q18197979', 'P407', 'Q1860']
ASK WHERE { resource:Q18197979 property:P407 resource:Q182695 . resource:Q18197979 property:P407 resource:Q1860 }
James Late Old Japanese English
action is_in
entity James
action intersection
action find_reverse
entity Late Old Japanese
relation language of work or name
action find_reverse
entity English
relation language of work or name
['James', 'language of work or name', 'Late Old Japanese'] ['James', 'language of work or name', 'English']
ASK WHERE { resource:James property:language_of_work_or_name resource:Late_Old_Japanese . resource:James property:language_of_work_or_name resource:English }
[]
language
SYSTEM
NO and YES respectively
(Q18197979,P407,Q182695) (Q18197979,P407,Q1860)
action is_in
entity Q18197979
action intersection
action find_reverse
entity Q182695
relation P407
action find_reverse
entity Q1860
relation P407
[ANSWER]
['Q18197979', 'P407', 'Q182695'] ['Q18197979', 'P407', 'Q1860']
ASK WHERE { resource:Q18197979 property:P407 resource:Q182695 . resource:Q18197979 property:P407 resource:Q1860 }
NO and YES respectively
action is_in
entity James
action intersection
action find_reverse
entity Late Old Japanese
relation language of work or name
action find_reverse
entity English
relation language of work or name
['James', 'language of work or name', 'Late Old Japanese'] ['James', 'language of work or name', 'English']
ASK WHERE { resource:James property:language_of_work_or_name resource:Late_Old_Japanese . resource:James property:language_of_work_or_name resource:English }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q24067392
P180
Q82799 Q18783400 Q340169
USER
Which names are depicted in more number of genres of sculpture and medias than Boy ?
(c(Q18783400)|c(Q340169),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q18783400
type Q340169
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?e WHERE { { ?k property:P180 ?e . ?k rdf:type ontology:Q340169 . ?e rdf:type ontology:Q82799 } UNION { ?k property:P180 ?e . ?e rdf:type ontology:Q82799 . ?k rdf:type ontology:Q18783400 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P180 resource:Q24067392 . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q18783400 } } } } . FILTER ( ?r > ?z ) }
Boy
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?e WHERE { { ?k property:depicts ?e . ?k rdf:type ontology:media . ?e rdf:type ontology:name } UNION { ?k property:depicts ?e . ?e rdf:type ontology:name . ?k rdf:type ontology:genre_of_sculpture } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:depicts resource:Boy . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?r > ?z ) }
[]
name genre of sculpture media
Q144 Q726 Q5
SYSTEM
dog, horse, human
Q5 Q726 Q2092297 Q144 Q7378
(c(Q18783400)|c(Q340169),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q24067392
relation P180
type Q18783400
type Q340169
[ANSWERS] are depicted in more number of genres of sculpture and medias than Boy
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?e WHERE { { ?k property:P180 ?e . ?k rdf:type ontology:Q340169 . ?e rdf:type ontology:Q82799 } UNION { ?k property:P180 ?e . ?e rdf:type ontology:Q82799 . ?k rdf:type ontology:Q18783400 } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:P180 resource:Q24067392 . { { ?g rdf:type ontology:Q340169 } UNION { ?g rdf:type ontology:Q18783400 } } } } . FILTER ( ?r > ?z ) }
human horse eagle dog elephant
Dog, horse and human are depicted in more number of genres of sculpture and medias than Boy
dog horse human
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity Boy
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?r ) ?e WHERE { { ?k property:depicts ?e . ?k rdf:type ontology:media . ?e rdf:type ontology:name } UNION { ?k property:depicts ?e . ?e rdf:type ontology:name . ?k rdf:type ontology:genre_of_sculpture } } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?g ) AS ?z ) WHERE { ?g property:depicts resource:Boy . { { ?g rdf:type ontology:media } UNION { ?g rdf:type ontology:genre_of_sculpture } } } } . FILTER ( ?r > ?z ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q8335
P180
Q82799 Q18783400 Q340169
USER
And how about raven?
(c(Q18783400)|c(Q340169),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q8335
relation P180
type Q18783400
type Q340169
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } . ?q rdf:type ?h } GROUP BY ?p } . FILTER ( ?u > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } . ?j rdf:type ?n } . ?j property:P180 resource:Q8335 } } }
raven
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity raven
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?p WHERE { VALUES ( ?h ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } . ?q rdf:type ?h } GROUP BY ?p } . FILTER ( ?u > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { VALUES ( ?n ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } . ?j rdf:type ?n } . ?j property:depicts resource:raven } } }
[]
name genre of sculpture media
Q144 Q726 Q7368
SYSTEM
dog, horse, Ovis aries
Q5 Q726 Q830 Q3736439 Q7368 Q7369 Q2092297 Q144 Q24067392 Q3537778 Q1367 Q9394 Q7378
(c(Q18783400)|c(Q340169),P180,c(Q82799))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q82799
type Q340169
action count
action filter_multi_types
action find_reverse
entity Q8335
relation P180
type Q18783400
type Q340169
[ANSWERS]
[[{'concept': 'Q18783400'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?p WHERE { VALUES ( ?h ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } . ?q rdf:type ?h } GROUP BY ?p } . FILTER ( ?u > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { VALUES ( ?n ) { ( ontology:Q340169 ) ( ontology:Q18783400 ) } . ?j rdf:type ?n } . ?j property:P180 resource:Q8335 } } }
human horse cattle duck Ovis aries dolphin eagle dog Boy donkeys monkey rabbit elephant
dog horse Ovis aries
action greater
action union
action find_reverse_tuple_counts
relation depicts
type name
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type name
type media
action count
action filter_multi_types
action find_reverse
entity raven
relation depicts
type genre of sculpture
type media
[[{'concept': 'genre of sculpture'}, {'concept': 'media'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) ?p WHERE { VALUES ( ?h ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } . ?q rdf:type ?h } GROUP BY ?p } . FILTER ( ?u > ?i ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?i ) WHERE { { VALUES ( ?n ) { ( ontology:media ) ( ontology:genre_of_sculpture ) } . ?j rdf:type ?n } . ?j property:depicts resource:raven } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q726
P1990
Q178706
USER
Which institutions have taken care of the species named horse ?
(c(Q178706),P1990,Q726)
action filter_type
action find_reverse
entity Q726
relation P1990
type Q178706
[{'concept': 'Q178706'}, 'P1990', 'Q726']
SELECT DISTINCT ?i WHERE { ?i property:P1990 resource:Q726 . ?i rdf:type ontology:Q178706 }
horse
action filter_type
action find_reverse
entity horse
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'horse']
SELECT DISTINCT ?i WHERE { ?i property:species_kept resource:horse . ?i rdf:type ontology:institution }
[]
institution
Q741395 Q114525 Q2709506
SYSTEM
Toronto Zoo, Flamingo Land Resort, Singapore Zoo
Q741395 Q114525 Q2709506 Q8028978 Q1937399
(c(Q178706),P1990,Q726)
action filter_type
action find_reverse
entity Q726
relation P1990
type Q178706
[ANSWERS] have taken care of the species named horse
[{'concept': 'Q178706'}, 'P1990', 'Q726']
SELECT DISTINCT ?i WHERE { ?i property:P1990 resource:Q726 . ?i rdf:type ontology:Q178706 }
Toronto Zoo Flamingo Land Resort Singapore Zoo Woburn Safari Park Minnesota Zoo
Toronto Zoo, Flamingo Land Resort and Singapore Zoo have taken care of the species named horse
Toronto Zoo Flamingo Land Resort Singapore Zoo
action filter_type
action find_reverse
entity horse
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'horse']
SELECT DISTINCT ?i WHERE { ?i property:species_kept resource:horse . ?i rdf:type ontology:institution }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q726
P366
Q31629
USER
Which type of sport is recognized as the main use of that name ?
(Q741395,P366,c(Q31629)) (Q114525,P366,c(Q31629)) (Q2709506,P366,c(Q31629))
action filter_type
action find
entity Q726
relation P366
type Q31629
['Q741395', 'P366', {'concept': 'Q31629'}] ['Q114525', 'P366', {'concept': 'Q31629'}] ['Q2709506', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { resource:Q726 property:P366 ?b . ?b rdf:type ontology:Q31629 }
horse
action filter_type
action find
entity horse
relation use
type type of sport
['Toronto Zoo', 'use', {'concept': 'type of sport'}] ['Flamingo Land Resort', 'use', {'concept': 'type of sport'}] ['Singapore Zoo', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { resource:horse property:use ?b . ?b rdf:type ontology:type_of_sport }
[]
type of sport
Q179226
SYSTEM
equestrianism
Q179226
(Q741395,P366,c(Q31629)) (Q114525,P366,c(Q31629)) (Q2709506,P366,c(Q31629))
action filter_type
action find
entity Q726
relation P366
type Q31629
In [ANSWER] is recognized as the main use of that name
['Q741395', 'P366', {'concept': 'Q31629'}] ['Q114525', 'P366', {'concept': 'Q31629'}] ['Q2709506', 'P366', {'concept': 'Q31629'}]
SELECT DISTINCT ?b WHERE { resource:Q726 property:P366 ?b . ?b rdf:type ontology:Q31629 }
equestrianism
In equestrianism is recognized as the main use of that name
equestrianism
action filter_type
action find
entity horse
relation use
type type of sport
['Toronto Zoo', 'use', {'concept': 'type of sport'}] ['Flamingo Land Resort', 'use', {'concept': 'type of sport'}] ['Singapore Zoo', 'use', {'concept': 'type of sport'}]
SELECT DISTINCT ?b WHERE { resource:horse property:use ?b . ?b rdf:type ontology:type_of_sport }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1444
Q486972 Q31629
USER
Which human settlements marks the end of journey for exactly 1 type of sport ?
(c(Q31629),P1444,c(Q486972))
action equal
action find_reverse_tuple_counts
relation P1444
type Q486972
type Q31629
value 1
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P1444 ?v . ?v rdf:type ontology:Q486972 . ?r rdf:type ontology:Q31629 } GROUP BY ?v } . FILTER ( ?j = 1 ) }
action equal
action find_reverse_tuple_counts
relation destination point
type human settlement
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:destination_point ?v . ?v rdf:type ontology:human_settlement . ?r rdf:type ontology:type_of_sport } GROUP BY ?v } . FILTER ( ?j = 1 ) }
[]
human settlement type of sport
Q31487 Q931780 Q108672
SYSTEM
Kraków, Alzira, Dąbrowa Górnicza
Q931780 Q1647457 Q108672 Q24123287 Q5351212 Q260320 Q1003408 Q31487 Q525112
(c(Q31629),P1444,c(Q486972))
action equal
action find_reverse_tuple_counts
relation P1444
type Q486972
type Q31629
value 1
[ANSWERS] mark the end of journey for exactly 1 type of sport
[{'concept': 'Q31629'}, 'P1444', {'concept': 'Q486972'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P1444 ?v . ?v rdf:type ontology:Q486972 . ?r rdf:type ontology:Q31629 } GROUP BY ?v } . FILTER ( ?j = 1 ) }
Alzira Lesaka Dąbrowa Górnicza Lido di Camaiore El Durazno, Argentina Steyr Bukowina Tatrzańska Kraków La Fría
Kraków, Alzira and Dąbrowa Górnicza mark the end of journey for exactly 1 type of sport
Kraków Alzira Dąbrowa Górnicza
action equal
action find_reverse_tuple_counts
relation destination point
type human settlement
type type of sport
value 1
[{'concept': 'type of sport'}, 'destination point', {'concept': 'human settlement'}]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:destination_point ?v . ?v rdf:type ontology:human_settlement . ?r rdf:type ontology:type_of_sport } GROUP BY ?v } . FILTER ( ?j = 1 ) }
[]