Simple Question (Direct)
Simple Question
Q4758044
P106
Q12737077
USER
Which occupation has Andrew Mitchell as his/her 's career ?
(Q4758044,P106,c(Q12737077))
action filter_type
action find
entity Q4758044
relation P106
type Q12737077
['Q4758044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4758044 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Andrew Mitchell
action filter_type
action find
entity Andrew Mitchell
relation occupation
type occupation
['Andrew Mitchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Andrew_Mitchell property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4758044,P106,c(Q12737077))
action filter_type
action find
entity Q4758044
relation P106
type Q12737077
Player [ANSWER] has Andrew Mitchell as his/her 's career
['Q4758044', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q4758044 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
Player association football player has Andrew Mitchell as his/her 's career
association football player
action filter_type
action find
entity Andrew Mitchell
relation occupation
type occupation
['Andrew Mitchell', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Andrew_Mitchell property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q937857
P800
Q502895
USER
Who is author of that occupation ?
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:association_football_player }
[]
common name
Q23047441
SYSTEM
Hugh Morgan-Owen
Q23047441
(c(Q502895),P800,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
Is author of that occupation [ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q937857']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . ?u property:P800 resource:Q937857 }
Hugh Morgan-Owen
Is author of that occupation Hugh Morgan-Owen
Hugh Morgan-Owen
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . ?u property:notable_work resource:association_football_player }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P921
Q2342494
USER
Which collectables were primarily based on association football player ?
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P921 resource:Q937857 }
association football player
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:main_subject resource:association_football_player }
[]
collectable
Q24787529 Q23730991 Q19845002
SYSTEM
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006, Citizens and minstermen : a who's who of York City FC, 1922-1997
Q24787529 Q23730991 Q19845002
(c(Q2342494),P921,Q937857)
action filter_type
action find_reverse
entity Q937857
relation P921
type Q2342494
[ANSWERS]
[{'concept': 'Q2342494'}, 'P921', 'Q937857']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q2342494 . ?z property:P921 resource:Q937857 }
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
The PFA footballers' who's who 2008-09, Timeless Bees: Brentford F.C. who's who 1920-2006 and Citizens and minstermen : a who's who of York City FC, 1922-1997 were primarily based on association football player
The PFA footballers' who's who 2008-09 Timeless Bees: Brentford F.C. who's who 1920-2006 Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find_reverse
entity association football player
relation main subject
type collectable
[{'concept': 'collectable'}, 'main subject', 'association football player']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:collectable . ?z property:main_subject resource:association_football_player }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q19845002
P136
Q1792379
USER
What can be considered as category for Citizens and minstermen : a who's who of York City FC, 1922-1997 ?
(Q19845002,P136,c(Q1792379))
action filter_type
action find
entity Q19845002
relation P136
type Q1792379
['Q19845002', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q19845002 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation genre
type art genre
["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 property:genre ?v . ?v rdf:type ontology:art_genre }
[]
art genre
Q36279
SYSTEM
biography
Q36279
(Q19845002,P136,c(Q1792379))
action filter_type
action find
entity Q19845002
relation P136
type Q1792379
[ANSWER] can be considered as category for Citizens and minstermen : a who's who of York City FC, 1922-1997
['Q19845002', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?v WHERE { resource:Q19845002 property:P136 ?v . ?v rdf:type ontology:Q1792379 }
biography
Biography can be considered as category for Citizens and minstermen : a who's who of York City FC, 1922-1997
biography
action filter_type
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation genre
type art genre
["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?v WHERE { resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 property:genre ?v . ?v rdf:type ontology:art_genre }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q865275 Q19845002
P136
Q1792379
USER
Or Birgit Lohmeyer?
OR((Q19845002,P136,c(Q1792379)), (Q865275,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q19845002
relation P136
action find
entity Q865275
relation P136
type Q1792379
{'OR': [['Q19845002', 'P136', {'concept': 'Q1792379'}], ['Q865275', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Q19845002 ) ( resource:Q865275 ) } . ?r property:P136 ?p } . ?p rdf:type ontology:Q1792379 }
Birgit Lohmeyer Citizens and minstermen : a who's who of York City FC, 1922-1997
action filter_type
action union
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation genre
action find
entity Birgit Lohmeyer
relation genre
type art genre
{'OR': [["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'genre', {'concept': 'art genre'}], ['Birgit Lohmeyer', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 ) ( resource:Birgit_Lohmeyer ) } . ?r property:genre ?p } . ?p rdf:type ontology:art_genre }
[]
art genre
Q36279 Q208505
SYSTEM
biography, crime novel
Q36279 Q208505
OR((Q19845002,P136,c(Q1792379)), (Q865275,P136,c(Q1792379)))
action filter_type
action union
action find
entity Q19845002
relation P136
action find
entity Q865275
relation P136
type Q1792379
[ANSWERS]
{'OR': [['Q19845002', 'P136', {'concept': 'Q1792379'}], ['Q865275', 'P136', {'concept': 'Q1792379'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Q19845002 ) ( resource:Q865275 ) } . ?r property:P136 ?p } . ?p rdf:type ontology:Q1792379 }
biography crime novel
biography crime novel
action filter_type
action union
action find
entity Citizens and minstermen : a who's who of York City FC, 1922-1997
relation genre
action find
entity Birgit Lohmeyer
relation genre
type art genre
{'OR': [["Citizens and minstermen : a who's who of York City FC, 1922-1997", 'genre', {'concept': 'art genre'}], ['Birgit Lohmeyer', 'genre', {'concept': 'art genre'}]]}
SELECT DISTINCT ?p WHERE { { VALUES ( ?r ) { ( resource:Citizens_and_minstermen_:_a_who's_who_of_York_City_FC,_1922-1997 ) ( resource:Birgit_Lohmeyer ) } . ?r property:genre ?p } . ?p rdf:type ontology:art_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q151885 Q8205328 Q1792379
USER
How many art genres depict exactly 2 concepts or artefacts ?
(c(Q1792379),P180,c(Q151885)|c(Q8205328))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q1792379
type Q151885
action find_tuple_counts
relation P180
type Q1792379
type Q8205328
value 2
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?o ) { ( ontology:Q151885 ) ( ontology:Q8205328 ) } . ?k rdf:type ?o } GROUP BY ?a } . FILTER ( ?l = 2 ) }
action count
action equal
action union
action find_tuple_counts
relation depicts
type art genre
type concept
action find_tuple_counts
relation depicts
type art genre
type artefact
value 2
[{'concept': 'art genre'}, 'depicts', [{'concept': 'concept'}, {'concept': 'artefact'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?o ) { ( ontology:concept ) ( ontology:artefact ) } . ?k rdf:type ?o } GROUP BY ?a } . FILTER ( ?l = 2 ) }
[]
concept artefact art genre
SYSTEM
1
Q22677825
(c(Q1792379),P180,c(Q151885)|c(Q8205328))
action count
action equal
action union
action find_tuple_counts
relation P180
type Q1792379
type Q151885
action find_tuple_counts
relation P180
type Q1792379
type Q8205328
value 2
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', [{'concept': 'Q151885'}, {'concept': 'Q8205328'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?o ) { ( ontology:Q151885 ) ( ontology:Q8205328 ) } . ?k rdf:type ?o } GROUP BY ?a } . FILTER ( ?l = 2 ) }
Maire-sculpture
1
action count
action equal
action union
action find_tuple_counts
relation depicts
type art genre
type concept
action find_tuple_counts
relation depicts
type art genre
type artefact
value 2
[{'concept': 'art genre'}, 'depicts', [{'concept': 'concept'}, {'concept': 'artefact'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?f ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?k ) AS ?l ) WHERE { VALUES ( ?o ) { ( ontology:concept ) ( ontology:artefact ) } . ?k rdf:type ?o } GROUP BY ?a } . FILTER ( ?l = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1441
Q2342494 Q15619164 Q3895768
USER
Which collectables contain atleast 8 abstract beings and fictional locations ?
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
value 8
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q3895768 ) } . ?b rdf:type ?t } GROUP BY ?n } . FILTER ( ?o >= 8 ) }
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
value 8
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:fictional_location ) } . ?b rdf:type ?t } GROUP BY ?n } . FILTER ( ?o >= 8 ) }
[]
collectable abstract being fictional location
Q92640 Q15228 Q79762
SYSTEM
Alice's Adventures in Wonderland, The Lord of the Rings, The Silmarillion
Q15228 Q92640 Q79762 Q161531
(c(Q15619164)|c(Q3895768),P1441,c(Q2342494))
action atleast
action union
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q15619164
action find_reverse_tuple_counts
relation P1441
type Q2342494
type Q3895768
value 8
[ANSWERS] contain atleast 8 abstract beings and fictional locations
[[{'concept': 'Q15619164'}, {'concept': 'Q3895768'}], 'P1441', {'concept': 'Q2342494'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:Q15619164 ) ( ontology:Q3895768 ) } . ?b rdf:type ?t } GROUP BY ?n } . FILTER ( ?o >= 8 ) }
The Lord of the Rings Alice's Adventures in Wonderland The Silmarillion War and Peace
Alice's Adventures in Wonderland, The Lord of the Rings and The Silmarillion contain atleast 8 abstract beings and fictional locations
Alice's Adventures in Wonderland The Lord of the Rings The Silmarillion
action atleast
action union
action find_reverse_tuple_counts
relation present in work
type collectable
type abstract being
action find_reverse_tuple_counts
relation present in work
type collectable
type fictional location
value 8
[[{'concept': 'abstract being'}, {'concept': 'fictional location'}], 'present in work', {'concept': 'collectable'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?b ) AS ?o ) WHERE { VALUES ( ?t ) { ( ontology:abstract_being ) ( ontology:fictional_location ) } . ?b rdf:type ?t } GROUP BY ?n } . FILTER ( ?o >= 8 ) }
[]