Simple Question (Direct)
Simple Question
Q4797858
P21
Q290
USER
Which sex does Arthur Atkin belong to ?
(Q4797858,P21,c(Q290))
action filter_type
action find
entity Q4797858
relation P21
type Q290
['Q4797858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q4797858 property:P21 ?k }
Arthur Atkin
action filter_type
action find
entity Arthur Atkin
relation gender
type sex
['Arthur Atkin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Arthur_Atkin property:gender ?k }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4797858,P21,c(Q290))
action filter_type
action find
entity Q4797858
relation P21
type Q290
Arthur Atkin belongs to [ANSWER]
['Q4797858', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q290 . resource:Q4797858 property:P21 ?k }
male
Arthur Atkin belongs to male
male
action filter_type
action find
entity Arthur Atkin
relation gender
type sex
['Arthur Atkin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:sex . resource:Arthur_Atkin property:gender ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4797858
P641
Q349
USER
Which sport did Arthur Atkin participate in ?
(Q4797858,P641,c(Q349))
action filter_type
action find
entity Q4797858
relation P641
type Q349
['Q4797858', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4797858 property:P641 ?p . ?p rdf:type ontology:Q349 }
Arthur Atkin
action filter_type
action find
entity Arthur Atkin
relation sport
type sport
['Arthur Atkin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Arthur_Atkin property:sport ?p . ?p rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4797858,P641,c(Q349))
action filter_type
action find
entity Q4797858
relation P641
type Q349
Arthur Atkin participated in [ANSWER]
['Q4797858', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q4797858 property:P641 ?p . ?p rdf:type ontology:Q349 }
association football
Arthur Atkin participated in association football
association football
action filter_type
action find
entity Arthur Atkin
relation sport
type sport
['Arthur Atkin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Arthur_Atkin property:sport ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4797858
P27
Q15617994
USER
Which administrative territory is the native country of Arthur Atkin ?
(Q4797858,P27,c(Q15617994))
action filter_type
action find
entity Q4797858
relation P27
type Q15617994
['Q4797858', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4797858 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
Arthur Atkin
action filter_type
action find
entity Arthur Atkin
relation country of citizenship
type designation for an administrative territorial entity
['Arthur Atkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Arthur_Atkin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q4797858,P27,c(Q15617994))
action filter_type
action find
entity Q4797858
relation P27
type Q15617994
The [ANSWER] is the native country of Arthur Atkin
['Q4797858', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q4797858 property:P27 ?y . ?y rdf:type ontology:Q15617994 }
United Kingdom
The United Kingdom is the native country of Arthur Atkin
United Kingdom
action filter_type
action find
entity Arthur Atkin
relation country of citizenship
type designation for an administrative territorial entity
['Arthur Atkin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Arthur_Atkin property:country_of_citizenship ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2157676
Q15617994
USER
And how about Robert Irving III?
(Q2157676,P27,c(Q15617994))
action filter_type
action find
entity Q2157676
relation P27
type Q15617994
['Q2157676', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2157676 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Robert Irving III
action filter_type
action find
entity Robert Irving III
relation country of citizenship
type designation for an administrative territorial entity
['Robert Irving III', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Irving_III property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q2157676,P27,c(Q15617994))
action filter_type
action find
entity Q2157676
relation P27
type Q15617994
[ANSWER]
['Q2157676', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q2157676 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Robert Irving III
relation country of citizenship
type designation for an administrative territorial entity
['Robert Irving III', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Robert_Irving_III property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q40729
P915
Q838948
USER
How many works of art were filmed at United Kingdom or Wadi Rum ?
(c(Q838948),P915,Q145) (c(Q838948),P915,Q40729)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
action filter_type
action find_reverse
entity Q40729
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q145'] [{'concept': 'Q838948'}, 'P915', 'Q40729']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q145 ) ( resource:Q40729 ) } . ?k property:P915 ?i }
United Kingdom Wadi Rum
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
action filter_type
action find_reverse
entity Wadi Rum
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United Kingdom'] [{'concept': 'work of art'}, 'filming location', 'Wadi Rum']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:United_Kingdom ) ( resource:Wadi_Rum ) } . ?k property:filming_location ?i }
[]
work of art
SYSTEM
2
Q18547944 Q15631013
(c(Q838948),P915,Q145) (c(Q838948),P915,Q40729)
action count
action union
action filter_type
action find_reverse
entity Q145
relation P915
type Q838948
action filter_type
action find_reverse
entity Q40729
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q145'] [{'concept': 'Q838948'}, 'P915', 'Q40729']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:Q145 ) ( resource:Q40729 ) } . ?k property:P915 ?i }
The Martian Everest
2
action count
action union
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type work of art
action filter_type
action find_reverse
entity Wadi Rum
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'United Kingdom'] [{'concept': 'work of art'}, 'filming location', 'Wadi Rum']
SELECT DISTINCT ( COUNT ( ?k ) AS ?c ) WHERE { VALUES ( ?i ) { ( resource:United_Kingdom ) ( resource:Wadi_Rum ) } . ?k property:filming_location ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P921
Q201658
USER
Which film genre is United States of America a main subject of ?
(c(Q201658),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q201658
[{'concept': 'Q201658'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q30 . ?c rdf:type ontology:Q201658 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation main subject
type film genre
[{'concept': 'film genre'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:United_States_of_America . ?c rdf:type ontology:film_genre }
[]
film genre
Q7754490
SYSTEM
The Numbers Start with the River
Q7754490
(c(Q201658),P921,Q30)
action filter_type
action find_reverse
entity Q30
relation P921
type Q201658
The Numbers start with the River is United States of America a main subject of
[{'concept': 'Q201658'}, 'P921', 'Q30']
SELECT DISTINCT ?c WHERE { ?c property:P921 resource:Q30 . ?c rdf:type ontology:Q201658 }
The Numbers Start with the River
The Numbers start with the River is United States of America a main subject of
The Numbers Start with the River
action filter_type
action find_reverse
entity United States of America
relation main subject
type film genre
[{'concept': 'film genre'}, 'main subject', 'United States of America']
SELECT DISTINCT ?c WHERE { ?c property:main_subject resource:United_States_of_America . ?c rdf:type ontology:film_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7754490
P136
Q1792379
USER
What can be considered as category for that film genre ?
(Q7754490,P136,c(Q1792379))
action filter_type
action find
entity Q7754490
relation P136
type Q1792379
['Q7754490', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q7754490 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
The Numbers Start with the River
action filter_type
action find
entity The Numbers Start with the River
relation genre
type art genre
['The Numbers Start with the River', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:The_Numbers_Start_with_the_River property:genre ?t . ?t rdf:type ontology:art_genre }
[]
art genre
Q93204
SYSTEM
documentary film
Q93204
(Q7754490,P136,c(Q1792379))
action filter_type
action find
entity Q7754490
relation P136
type Q1792379
[ANSWER] can be considered as category for that film genre
['Q7754490', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?t WHERE { resource:Q7754490 property:P136 ?t . ?t rdf:type ontology:Q1792379 }
documentary film
Documentary film can be considered as category for that film genre
documentary film
action filter_type
action find
entity The Numbers Start with the River
relation genre
type art genre
['The Numbers Start with the River', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?t WHERE { resource:The_Numbers_Start_with_the_River property:genre ?t . ?t rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q7754490 Q136006
P136
Q5962346
USER
How many classification schemes are the genre of The Numbers Start with the River or ZDFmediathek ?
(Q7754490,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q7754490
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
['Q7754490', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { resource:Q7754490 property:P136 ?v . ?v rdf:type ontology:Q5962346 } UNION { ?v rdf:type ontology:Q5962346 . resource:Q136006 property:P136 ?v } }
The Numbers Start with the River ZDFmediathek
action count
action union
action filter_type
action find
entity The Numbers Start with the River
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['The Numbers Start with the River', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { resource:The_Numbers_Start_with_the_River property:genre ?v . ?v rdf:type ontology:classification_scheme } UNION { ?v rdf:type ontology:classification_scheme . resource:ZDFmediathek property:genre ?v } }
[]
classification scheme
SYSTEM
2
Q16894224 Q1407245
(Q7754490,P136,c(Q5962346)) (Q136006,P136,c(Q5962346))
action count
action union
action filter_type
action find
entity Q7754490
relation P136
type Q5962346
action filter_type
action find
entity Q136006
relation P136
type Q5962346
[ANSWER]
['Q7754490', 'P136', {'concept': 'Q5962346'}] ['Q136006', 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { resource:Q7754490 property:P136 ?v . ?v rdf:type ontology:Q5962346 } UNION { ?v rdf:type ontology:Q5962346 . resource:Q136006 property:P136 ?v } }
sports program television show
2
action count
action union
action filter_type
action find
entity The Numbers Start with the River
relation genre
type classification scheme
action filter_type
action find
entity ZDFmediathek
relation genre
type classification scheme
['The Numbers Start with the River', 'genre', {'concept': 'classification scheme'}] ['ZDFmediathek', 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?n ) WHERE { { resource:The_Numbers_Start_with_the_River property:genre ?v . ?v rdf:type ontology:classification_scheme } UNION { ?v rdf:type ontology:classification_scheme . resource:ZDFmediathek property:genre ?v } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q2302151
P180
Q56061 Q811430 Q1792379
USER
How many art genres depict more number of administrative territories and constructions than animal painting ?
(c(Q1792379),P180,c(Q56061)|c(Q811430))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action find_tuple_counts
relation P180
type Q1792379
type Q811430
action count
action filter_multi_types
action find
entity Q2302151
relation P180
type Q56061
type Q811430
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q56061'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?i ) WHERE { { ?c property:P180 ?t . ?c rdf:type ontology:Q1792379 . ?t rdf:type ontology:Q56061 } UNION { ?c property:P180 ?t . ?c rdf:type ontology:Q1792379 . ?t rdf:type ontology:Q811430 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q2302151 property:P180 ?k . { { ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q811430 } } } } . FILTER ( ?i > ?y ) }
animal painting
action count
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action find_tuple_counts
relation depicts
type art genre
type construction
action count
action filter_multi_types
action find
entity animal painting
relation depicts
type administrative territorial entity
type construction
[{'concept': 'art genre'}, 'depicts', [{'concept': 'administrative territorial entity'}, {'concept': 'construction'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?i ) WHERE { { ?c property:depicts ?t . ?c rdf:type ontology:art_genre . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?c property:depicts ?t . ?c rdf:type ontology:art_genre . ?t rdf:type ontology:construction } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:animal_painting property:depicts ?k . { { ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:construction } } } } . FILTER ( ?i > ?y ) }
[]
administrative territorial entity construction art genre
SYSTEM
2
Q3362398 Q18353841
(c(Q1792379),P180,c(Q56061)|c(Q811430))
action count
action greater
action union
action find_tuple_counts
relation P180
type Q1792379
type Q56061
action find_tuple_counts
relation P180
type Q1792379
type Q811430
action count
action filter_multi_types
action find
entity Q2302151
relation P180
type Q56061
type Q811430
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q56061'}, {'concept': 'Q811430'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?i ) WHERE { { ?c property:P180 ?t . ?c rdf:type ontology:Q1792379 . ?t rdf:type ontology:Q56061 } UNION { ?c property:P180 ?t . ?c rdf:type ontology:Q1792379 . ?t rdf:type ontology:Q811430 } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:Q2302151 property:P180 ?k . { { ?k rdf:type ontology:Q56061 } UNION { ?k rdf:type ontology:Q811430 } } } } . FILTER ( ?i > ?y ) }
Panorama du Caire Architectural painting
2
action count
action greater
action union
action find_tuple_counts
relation depicts
type art genre
type administrative territorial entity
action find_tuple_counts
relation depicts
type art genre
type construction
action count
action filter_multi_types
action find
entity animal painting
relation depicts
type administrative territorial entity
type construction
[{'concept': 'art genre'}, 'depicts', [{'concept': 'administrative territorial entity'}, {'concept': 'construction'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?t ) AS ?i ) WHERE { { ?c property:depicts ?t . ?c rdf:type ontology:art_genre . ?t rdf:type ontology:administrative_territorial_entity } UNION { ?c property:depicts ?t . ?c rdf:type ontology:art_genre . ?t rdf:type ontology:construction } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?y ) WHERE { resource:animal_painting property:depicts ?k . { { ?k rdf:type ontology:administrative_territorial_entity } UNION { ?k rdf:type ontology:construction } } } } . FILTER ( ?i > ?y ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q100413 Q145
P47
Q15617994
USER
Which administrative territories share border with United Kingdom or Cortenuova ?
OR((Q145,P47,c(Q15617994)), (Q100413,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P47
action find
entity Q100413
relation P47
type Q15617994
{'OR': [['Q145', 'P47', {'concept': 'Q15617994'}], ['Q100413', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q145 property:P47 ?r } UNION { resource:Q100413 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
Cortenuova United Kingdom
action filter_type
action union
action find
entity United Kingdom
relation shares border with
action find
entity Cortenuova
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Cortenuova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_Kingdom property:shares_border_with ?r } UNION { resource:Cortenuova property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q100439 Q717 Q100125 Q101512 Q27 Q100373
SYSTEM
France, Covo, Venezuela, Calcio, Lombardy, Romano di Lombardia, Ireland, Cividate al Piano
Q142 Q100439 Q717 Q100125 Q101512 Q27 Q100373
OR((Q145,P47,c(Q15617994)), (Q100413,P47,c(Q15617994)))
action filter_type
action union
action find
entity Q145
relation P47
action find
entity Q100413
relation P47
type Q15617994
[ANSWERS] share border with United Kingdom or Cortenuova
{'OR': [['Q145', 'P47', {'concept': 'Q15617994'}], ['Q100413', 'P47', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q145 property:P47 ?r } UNION { resource:Q100413 property:P47 ?r } } . ?r rdf:type ontology:Q15617994 }
France Covo Venezuela Calcio, Lombardy Romano di Lombardia Ireland Cividate al Piano
France, Covo, Venezuela, Calcio, Lombardy, Romano di Lombardia, Ireland and Cividate al Piano share border with United Kingdom or Cortenuova
France Covo Venezuela Calcio, Lombardy Romano di Lombardia Ireland Cividate al Piano
action filter_type
action union
action find
entity United Kingdom
relation shares border with
action find
entity Cortenuova
relation shares border with
type designation for an administrative territorial entity
{'OR': [['United Kingdom', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Cortenuova', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:United_Kingdom property:shares_border_with ?r } UNION { resource:Cortenuova property:shares_border_with ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]