Simple Question (Direct)
Simple Question
Q7378006
P641
Q349
USER
Which sport was Rufus Brevett a part of ?
(Q7378006,P641,c(Q349))
action filter_type
action find
entity Q7378006
relation P641
type Q349
['Q7378006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q7378006 property:P641 ?r }
Rufus Brevett
action filter_type
action find
entity Rufus Brevett
relation sport
type sport
['Rufus Brevett', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Rufus_Brevett property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7378006,P641,c(Q349))
action filter_type
action find
entity Q7378006
relation P641
type Q349
The [ANSWER] was Rufus Brevett a part of
['Q7378006', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q7378006 property:P641 ?r }
association football
The association football was Rufus Brevett a part of
association football
action filter_type
action find
entity Rufus Brevett
relation sport
type sport
['Rufus Brevett', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Rufus_Brevett property:sport ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7378006
P19
Q56061
USER
Which administrative territory is the place of birth of Rufus Brevett ?
(Q7378006,P19,c(Q56061))
action filter_type
action find
entity Q7378006
relation P19
type Q56061
['Q7378006', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7378006 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Rufus Brevett
action filter_type
action find
entity Rufus Brevett
relation place of birth
type administrative territorial entity
['Rufus Brevett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Rufus_Brevett property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q43475
SYSTEM
Derby
Q43475
(Q7378006,P19,c(Q56061))
action filter_type
action find
entity Q7378006
relation P19
type Q56061
[ANSWER] is the place of birth of Rufus Brevett
['Q7378006', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q7378006 property:P19 ?z . ?z rdf:type ontology:Q56061 }
Derby
Derby is the place of birth of Rufus Brevett
Derby
action filter_type
action find
entity Rufus Brevett
relation place of birth
type administrative territorial entity
['Rufus Brevett', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Rufus_Brevett property:place_of_birth ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q43475 Q12072993
P19
Q502895
USER
Does John Eardley Wilmot have birthplace at that administrative territory ?
(Q12072993,P19,Q43475)
action is_in
entity Q43475
action find
entity Q12072993
relation P19
['Q12072993', 'P19', 'Q43475']
ASK WHERE { resource:Q12072993 property:P19 resource:Q43475 }
Derby John Eardley Wilmot
action is_in
entity Derby
action find
entity John Eardley Wilmot
relation place of birth
['John Eardley Wilmot', 'place of birth', 'Derby']
ASK WHERE { resource:John_Eardley_Wilmot property:place_of_birth resource:Derby }
[]
common name
SYSTEM
YES
(Q12072993,P19,Q43475)
action is_in
entity Q43475
action find
entity Q12072993
relation P19
[ANSWER]
['Q12072993', 'P19', 'Q43475']
ASK WHERE { resource:Q12072993 property:P19 resource:Q43475 }
Yes
action is_in
entity Derby
action find
entity John Eardley Wilmot
relation place of birth
['John Eardley Wilmot', 'place of birth', 'Derby']
ASK WHERE { resource:John_Eardley_Wilmot property:place_of_birth resource:Derby }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43475 Q1226253
P937
Q502895
USER
How many people works at Derby or Ekstra Bladet ?
(c(Q502895),P937,Q43475) (c(Q502895),P937,Q1226253)
action count
action union
action filter_type
action find_reverse
entity Q43475
relation P937
type Q502895
action filter_type
action find_reverse
entity Q1226253
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q43475'] [{'concept': 'Q502895'}, 'P937', 'Q1226253']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P937 resource:Q43475 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P937 resource:Q1226253 . ?s rdf:type ontology:Q502895 } }
Derby Ekstra Bladet
action count
action union
action filter_type
action find_reverse
entity Derby
relation work location
type common name
action filter_type
action find_reverse
entity Ekstra Bladet
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Derby'] [{'concept': 'common name'}, 'work location', 'Ekstra Bladet']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:work_location resource:Derby . ?s rdf:type ontology:common_name } UNION { ?s property:work_location resource:Ekstra_Bladet . ?s rdf:type ontology:common_name } }
[]
common name
SYSTEM
2
Q21686824 Q26819685
(c(Q502895),P937,Q43475) (c(Q502895),P937,Q1226253)
action count
action union
action filter_type
action find_reverse
entity Q43475
relation P937
type Q502895
action filter_type
action find_reverse
entity Q1226253
relation P937
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P937', 'Q43475'] [{'concept': 'Q502895'}, 'P937', 'Q1226253']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:P937 resource:Q43475 . ?s rdf:type ontology:Q502895 } UNION { ?s property:P937 resource:Q1226253 . ?s rdf:type ontology:Q502895 } }
Michael Qureshi C. J. Williams
2
action count
action union
action filter_type
action find_reverse
entity Derby
relation work location
type common name
action filter_type
action find_reverse
entity Ekstra Bladet
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Derby'] [{'concept': 'common name'}, 'work location', 'Ekstra Bladet']
SELECT DISTINCT ( COUNT ( ?s ) AS ?f ) WHERE { { ?s property:work_location resource:Derby . ?s rdf:type ontology:common_name } UNION { ?s property:work_location resource:Ekstra_Bladet . ?s rdf:type ontology:common_name } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43475
P740
Q2088357
USER
What were formed at Derby ?
(c(Q2088357),P740,Q43475)
action filter_type
action find_reverse
entity Q43475
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q43475']
SELECT DISTINCT ?n WHERE { ?n property:P740 resource:Q43475 . ?n rdf:type ontology:Q2088357 }
Derby
action filter_type
action find_reverse
entity Derby
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Derby']
SELECT DISTINCT ?n WHERE { ?n property:location_of_formation resource:Derby . ?n rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q6546635 Q7732180 Q25650
SYSTEM
Lightyear, The Enemy, LostAlone
Q7732180 Q6546635 Q25650 Q7821728 Q7717429 Q5015621 Q4919265
(c(Q2088357),P740,Q43475)
action filter_type
action find_reverse
entity Q43475
relation P740
type Q2088357
[ANSWERS] were formed at Derby
[{'concept': 'Q2088357'}, 'P740', 'Q43475']
SELECT DISTINCT ?n WHERE { ?n property:P740 resource:Q43475 . ?n rdf:type ontology:Q2088357 }
The Enemy Lightyear LostAlone Tony, Caro and John The Beyond Cable Bivouac
Lightyear, The Enemy and LostAlone were formed at Derby
Lightyear The Enemy LostAlone
action filter_type
action find_reverse
entity Derby
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'Derby']
SELECT DISTINCT ?n WHERE { ?n property:location_of_formation resource:Derby . ?n rdf:type ontology:musical_ensemble }
[]
Clarification
Simple Question|Single Entity|Indirect
Q25650
P175
Q2031291
USER
Which releases presented that musical ensemble ?
(c(Q2031291),P175,Q25650)
action filter_type
action find_reverse
entity Q25650
relation P175
type Q2031291
[{'concept': 'Q2031291'}, 'P175', 'Q25650']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2031291 . ?i property:P175 resource:Q25650 }
LostAlone
action filter_type
action find_reverse
entity LostAlone
relation performer
type release
[{'concept': 'release'}, 'performer', 'LostAlone']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:release . ?i property:performer resource:LostAlone }
[]
release
Clarification for simple ques.
Q7732180
SYSTEM
Did you mean The Enemy ?
Q6546635 Q7732180 Q25650
(c(Q2031291),P175,Q6546635) (c(Q2031291),P175,Q7732180) (c(Q2031291),P175,Q25650)
[ANSWER]
[{'concept': 'Q2031291'}, 'P175', 'Q6546635'] [{'concept': 'Q2031291'}, 'P175', 'Q7732180'] [{'concept': 'Q2031291'}, 'P175', 'Q25650']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2031291 . ?i property:P175 resource:Q25650 }
Lightyear The Enemy LostAlone
Did you mean The Enemy ?
The Enemy
[{'concept': 'release'}, 'performer', 'Lightyear'] [{'concept': 'release'}, 'performer', 'The Enemy'] [{'concept': 'release'}, 'performer', 'LostAlone']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:release . ?i property:performer resource:LostAlone }
[]
Simple Question (Coreferenced)
USER
No, I meant LostAlone. Could you tell me the answer for that?
(c(Q2031291),P175,Q25650)
Q25650
[{'concept': 'Q2031291'}, 'P175', 'Q25650']
[{'concept': 'release'}, 'performer', 'LostAlone']
[]
Q5967022 Q15732196
SYSTEM
I'm a UFO in This City, Shapes of Screams
Q5967022 Q15732196
(c(Q2031291),P175,Q25650)
action filter_type
action find_reverse
entity Q25650
relation P175
type Q2031291
[ANSWERS] presented that musical ensemble
[{'concept': 'Q2031291'}, 'P175', 'Q25650']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2031291 . ?i property:P175 resource:Q25650 }
I'm a UFO in This City Shapes of Screams
I'm a UFO in This City and Shapes of Screams presented that musical ensemble
I'm a UFO in This City Shapes of Screams
action filter_type
action find_reverse
entity LostAlone
relation performer
type release
[{'concept': 'release'}, 'performer', 'LostAlone']
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:release . ?i property:performer resource:LostAlone }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q2031291
USER
Which languages are approximately 161 releases in ?
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 161
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?d ) WHERE { ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2031291 . ?e property:P407 ?m } GROUP BY ?m } . FILTER ( ?d = 161 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 161
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?d ) WHERE { ?m rdf:type ontology:language . ?e rdf:type ontology:release . ?e property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?d = 161 ) }
[]
language release
Q447117 Q35499 Q35726
SYSTEM
Old Egyptian, Old Church Slavonic, Etruscan
Q132659 Q18130932 Q13414913 Q21161942 Q35499 Q37015 Q8785 Q35726 Q34909 Q27403 Q1420587 Q36206 Q1321 Q33976 Q33879 Q10498031 Q397 Q9056 Q8752 Q37041 Q652 Q35505 Q25167 Q25164 Q56982 Q35308 Q36790 Q447117
(c(Q2031291),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
value 161
[ANSWERS] are approximately 161 releases in
[{'concept': 'Q2031291'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?d ) WHERE { ?m rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2031291 . ?e property:P407 ?m } GROUP BY ?m } . FILTER ( ?d = 161 ) }
Egyptian hieroglyphs Traditional Chinese Simplified Chinese Serbian written in Cyrillic Old Church Slavonic Riksmål Armenian Etruscan Old Icelandic Galatian Høgnorsk Lak Spanish Sardinian language Pangasinan language Old East Norse Latin Czech Basque classical Chinese Italian Old Norse language Bokmål Nynorsk Judaeo-Portuguese Old Irish Sumerian Old Egyptian
Old Egyptian, Old Church Slavonic and Etruscan are approximately 161 releases in
Old Egyptian Old Church Slavonic Etruscan
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type release
value 161
[{'concept': 'release'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?d ) WHERE { ?m rdf:type ontology:language . ?e rdf:type ontology:release . ?e property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?d = 161 ) }
[]