Simple Question (Direct)
Simple Question
Q682818
P47
Q20667921
USER
Which french administrative divisions have a shared border with Ouville ?
(Q682818,P47,c(Q20667921))
action filter_type
action find
entity Q682818
relation P47
type Q20667921
['Q682818', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q682818 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Ouville
action filter_type
action find
entity Ouville
relation shares border with
type type of french administrative division
['Ouville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ouville property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q603094 Q1104014 Q766083
SYSTEM
Montpinchon, Saint-Denis-le-Vêtu, Courcy
Q766083 Q603094 Q1061498 Q1000982 Q662598 Q1104014 Q1061717
(Q682818,P47,c(Q20667921))
action filter_type
action find
entity Q682818
relation P47
type Q20667921
[ANSWERS] have a shared border with Ouville
['Q682818', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?g WHERE { resource:Q682818 property:P47 ?g . ?g rdf:type ontology:Q20667921 }
Courcy Montpinchon Savigny Belval Nicorps Saint-Denis-le-Vêtu Saussey
Montpinchon, Saint-Denis-le-Vêtu and Courcy have a shared border with Ouville
Montpinchon Saint-Denis-le-Vêtu Courcy
action filter_type
action find
entity Ouville
relation shares border with
type type of french administrative division
['Ouville', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?g WHERE { resource:Ouville property:shares_border_with ?g . ?g rdf:type ontology:type_of_french_administrative_division }
[]
Clarification
Simple Question|Single Entity|Indirect
Q766083
P17
Q15617994
USER
Which administrative territory is that french administrative division present in ?
(Q766083,P17,c(Q15617994))
action filter_type
action find
entity Q766083
relation P17
type Q15617994
['Q766083', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q766083 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Courcy
action filter_type
action find
entity Courcy
relation country
type designation for an administrative territorial entity
['Courcy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Courcy property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q603094
SYSTEM
Did you mean Montpinchon ?
Q603094 Q1104014 Q766083
(Q603094,P17,c(Q15617994)) (Q1104014,P17,c(Q15617994)) (Q766083,P17,c(Q15617994))
[ANSWER]
['Q603094', 'P17', {'concept': 'Q15617994'}] ['Q1104014', 'P17', {'concept': 'Q15617994'}] ['Q766083', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q766083 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Montpinchon Saint-Denis-le-Vêtu Courcy
Did you mean Montpinchon ?
Montpinchon
['Montpinchon', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Saint-Denis-le-Vêtu', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Courcy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Courcy property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant Courcy. Could you tell me the answer for that?
(Q766083,P17,c(Q15617994))
Q766083
['Q766083', 'P17', {'concept': 'Q15617994'}]
['Courcy', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q766083,P17,c(Q15617994))
action filter_type
action find
entity Q766083
relation P17
type Q15617994
That french administrative division is in [ANSWER]
['Q766083', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q766083 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
France
That french administrative division is in France
France
action filter_type
action find
entity Courcy
relation country
type designation for an administrative territorial entity
['Courcy', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Courcy property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P1071
Q2235308
USER
Which ship type has that administrative territory as its terminal assembly location ?
(c(Q2235308),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P1071 resource:Q142 . ?p rdf:type ontology:Q2235308 }
France
action filter_type
action find_reverse
entity France
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'France']
SELECT DISTINCT ?p WHERE { ?p property:location_of_final_assembly resource:France . ?p rdf:type ontology:ship_type }
[]
ship type
Q21012673
SYSTEM
Napoléon
Q21012673
(c(Q2235308),P1071,Q142)
action filter_type
action find_reverse
entity Q142
relation P1071
type Q2235308
[ANSWER] has that administrative territory as its terminal assembly location
[{'concept': 'Q2235308'}, 'P1071', 'Q142']
SELECT DISTINCT ?p WHERE { ?p property:P1071 resource:Q142 . ?p rdf:type ontology:Q2235308 }
Napoléon
Napoléon has that administrative territory as its terminal assembly location
Napoléon
action filter_type
action find_reverse
entity France
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'France']
SELECT DISTINCT ?p WHERE { ?p property:location_of_final_assembly resource:France . ?p rdf:type ontology:ship_type }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q355304 Q20667921
USER
How many french administrative divisions are located next to exactly 1 bodies of water or watercourses ?
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
value 1
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?l WHERE { { ?l property:P206 ?b . ?l rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q15324 } UNION { ?l rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q355304 . ?l property:P206 ?b } } GROUP BY ?l } . FILTER ( ?p = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?l WHERE { { ?l property:located_next_to_body_of_water ?b . ?l rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:body_of_water } UNION { ?l rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:watercourse . ?l property:located_next_to_body_of_water ?b } } GROUP BY ?l } . FILTER ( ?p = 1 ) }
[]
body of water watercourse type of french administrative division
SYSTEM
34
Q665411 Q245066 Q842027 Q30974 Q71356 Q1221458 Q236736 Q207253 Q380224 Q675318 Q1221814 Q849165 Q1073039 Q921780 Q1162138 Q1066836 Q391365 Q849065 Q849023 Q769160 Q513962 Q333447 Q323399 Q70491 Q231180 Q191765 Q738523 Q1075733 Q1217913 Q545015 Q662229 Q20892 Q273297 Q284445
(c(Q20667921),P206,c(Q15324)|c(Q355304))
action count
action equal
action union
action find_tuple_counts
relation P206
type Q20667921
type Q15324
action find_tuple_counts
relation P206
type Q20667921
type Q355304
value 1
[ANSWER]
[{'concept': 'Q20667921'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q355304'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?l WHERE { { ?l property:P206 ?b . ?l rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q15324 } UNION { ?l rdf:type ontology:Q20667921 . ?b rdf:type ontology:Q355304 . ?l property:P206 ?b } } GROUP BY ?l } . FILTER ( ?p = 1 ) }
Leffrinckoucke Chouvigny Rogliano Rouen Île-aux-Moines Saint-Quintin-sur-Sioule Vernon Mantes-la-Jolie Marck Bussières-et-Pruns Menat Saint-Bonnet-de-Rochefort Poses Val-de-Reuil Isches Grand-Fort-Philippe Bray-Dunes Bègues Mazerier Grande-Synthe Oye-Plage Aigueperse Gravelines Larmor-Baden Zuydcoote Anglet Saint-Gal-sur-Sioule La Roche-de-Glun Saint-Agoulin Chaptuzat Jenzat Le Mont-Saint-Michel Ébreuil Pontgibaud
34
action count
action equal
action union
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type body of water
action find_tuple_counts
relation located next to body of water
type type of french administrative division
type watercourse
value 1
[{'concept': 'type of french administrative division'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'watercourse'}]]
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?p ) ?l WHERE { { ?l property:located_next_to_body_of_water ?b . ?l rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:body_of_water } UNION { ?l rdf:type ontology:type_of_french_administrative_division . ?b rdf:type ontology:watercourse . ?l property:located_next_to_body_of_water ?b } } GROUP BY ?l } . FILTER ( ?p = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q142
P47
Q15617994
USER
How many administrative territories share border with France ?
(Q142,P47,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P47
type Q15617994
['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q142 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
France
action count
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:France property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
11
Q717 Q145 Q155 Q730 Q29999 Q228 Q32 Q31 Q29 Q39 Q38
(Q142,P47,c(Q15617994))
action count
action filter_type
action find
entity Q142
relation P47
type Q15617994
[ANSWER]
['Q142', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:Q142 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Venezuela United Kingdom Brazil Suriname Kingdom of the Netherlands Andorra Luxembourg Belgium Spain Switzerland Italy
11
action count
action filter_type
action find
entity France
relation shares border with
type designation for an administrative territorial entity
['France', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?u ) WHERE { resource:France property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q387181
P47
Q15617994
USER
And also tell me about Palmas Arborea?
(Q387181,P47,c(Q15617994))
action count
action filter_type
action find
entity Q387181
relation P47
type Q15617994
['Q387181', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q387181 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Palmas Arborea
action count
action filter_type
action find
entity Palmas Arborea
relation shares border with
type designation for an administrative territorial entity
['Palmas Arborea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Palmas_Arborea property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
Q387187 Q382548 Q389453 Q389383 Q13652
(Q387181,P47,c(Q15617994))
action count
action filter_type
action find
entity Q387181
relation P47
type Q15617994
[ANSWER]
['Q387181', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Q387181 property:P47 ?p . ?p rdf:type ontology:Q15617994 }
Pau Ales, Sardinia Villaurbana Villa Verde Oristano
5
action count
action filter_type
action find
entity Palmas Arborea
relation shares border with
type designation for an administrative territorial entity
['Palmas Arborea', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?m ) WHERE { resource:Palmas_Arborea property:shares_border_with ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q100081
Q15617994
USER
And also tell me about Novi di Modena?
(Q100081,P47,c(Q15617994))
action count
action filter_type
action find
entity Q100081
relation P47
type Q15617994
['Q100081', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q100081 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Novi di Modena
action count
action filter_type
action find
entity Novi di Modena
relation shares border with
type designation for an administrative territorial entity
['Novi di Modena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Novi_di_Modena property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
5
(Q100081,P47,c(Q15617994))
action count
action filter_type
action find
entity Q100081
relation P47
type Q15617994
[ANSWER]
['Q100081', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Q100081 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
5
action count
action filter_type
action find
entity Novi di Modena
relation shares border with
type designation for an administrative territorial entity
['Novi di Modena', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?d ) WHERE { resource:Novi_di_Modena property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P740
Q2088357
USER
Which are the musical ensembles that originates at France ?
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?c WHERE { ?c property:P740 resource:Q142 . ?c rdf:type ontology:Q2088357 }
France
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?c WHERE { ?c property:location_of_formation resource:France . ?c rdf:type ontology:musical_ensemble }
[]
musical ensemble
Q606650 Q2482652 Q22951192
SYSTEM
Empyr, Les Discrets, Kids United
Q2482652 Q3232823 Q14455902 Q2013381 Q16930080 Q948804 Q2113827 Q3396185 Q3562922 Q3196402 Q646039 Q845508 Q3238355 Q15052981 Q6533353 Q5205878 Q2869575 Q22951192 Q2982785 Q3498740 Q15198337 Q5934794 Q13945471 Q606650 Q2813204 Q3001954
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
The musical ensembles that originates at France are Les [ANSWERS]
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?c WHERE { ?c property:P740 resource:Q142 . ?c rdf:type ontology:Q2088357 }
Les Discrets Les Frères Misère Flavel & Neto Ocean Drive The Other Colors One-T Prototypes Poney Express Volo Kidtonik Era Les Hurlements d'Léo Life's Decay Y.A.S. Lethian Dreams DOP Atomic Garden Kids United Collectif Paris-Africa StereoHeroes Détroit Monade The Mess Empyr 1995 Crack ov Dawn
The musical ensembles that originates at France are Les Empyr, Les Discrets and Kids United
Empyr Les Discrets Kids United
action filter_type
action find_reverse
entity France
relation location of formation
type musical ensemble
[{'concept': 'musical ensemble'}, 'location of formation', 'France']
SELECT DISTINCT ?c WHERE { ?c property:location_of_formation resource:France . ?c rdf:type ontology:musical_ensemble }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q606650 Q2482652 Q22951192
P264
Q334453
USER
Which divisions are the record brand of those musical ensembles ?
(Q606650,P264,c(Q334453)) (Q2482652,P264,c(Q334453)) (Q22951192,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
['Q606650', 'P264', {'concept': 'Q334453'}] ['Q2482652', 'P264', {'concept': 'Q334453'}] ['Q22951192', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q334453 . ?v property:P264 ?f . VALUES ( ?v ) { ( resource:Q2482652 ) ( resource:Q3232823 ) ( resource:Q14455902 ) } }
Empyr Les Discrets Kids United
action filter_type
action find
entity prev_answer
relation record label
type division
['Empyr', 'record label', {'concept': 'division'}] ['Les Discrets', 'record label', {'concept': 'division'}] ['Kids United', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:division . ?v property:record_label ?f . VALUES ( ?v ) { ( resource:Les_Discrets ) ( resource:Les_Frères_Misère ) ( resource:Flavel_&_Neto ) } }
[]
division
Q27184 Q317774 Q3392091
SYSTEM
Jive Records, Prophecy Productions, Play On
Q27184 Q317774 Q3392091
(Q606650,P264,c(Q334453)) (Q2482652,P264,c(Q334453)) (Q22951192,P264,c(Q334453))
action filter_type
action find
entity prev_answer
relation P264
type Q334453
[ANSWERS] are the record brand of those musical ensembles
['Q606650', 'P264', {'concept': 'Q334453'}] ['Q2482652', 'P264', {'concept': 'Q334453'}] ['Q22951192', 'P264', {'concept': 'Q334453'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q334453 . ?v property:P264 ?f . VALUES ( ?v ) { ( resource:Q2482652 ) ( resource:Q3232823 ) ( resource:Q14455902 ) } }
Jive Records Prophecy Productions Play On
Jive Records, Prophecy Productions and Play On are the record brand of those musical ensembles
Jive Records Prophecy Productions Play On
action filter_type
action find
entity prev_answer
relation record label
type division
['Empyr', 'record label', {'concept': 'division'}] ['Les Discrets', 'record label', {'concept': 'division'}] ['Kids United', 'record label', {'concept': 'division'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:division . ?v property:record_label ?f . VALUES ( ?v ) { ( resource:Les_Discrets ) ( resource:Les_Frères_Misère ) ( resource:Flavel_&_Neto ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q317774
P17
Q1048835
USER
Which political territory is that division located in ?
(Q317774,P17,c(Q1048835))
action filter_type
action find
entity Q317774
relation P17
type Q1048835
['Q317774', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q317774 property:P17 ?o }
Prophecy Productions
action filter_type
action find
entity Prophecy Productions
relation country
type political territorial entity
['Prophecy Productions', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Prophecy_Productions property:country ?o }
[]
political territorial entity
Clarification for simple ques.
Q27184
SYSTEM
Did you mean Jive Records ?
Q27184 Q317774 Q3392091
(Q27184,P17,c(Q1048835)) (Q317774,P17,c(Q1048835)) (Q3392091,P17,c(Q1048835))
[ANSWER]
['Q27184', 'P17', {'concept': 'Q1048835'}] ['Q317774', 'P17', {'concept': 'Q1048835'}] ['Q3392091', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q317774 property:P17 ?o }
Jive Records Prophecy Productions Play On
Did you mean Jive Records ?
Jive Records
['Jive Records', 'country', {'concept': 'political territorial entity'}] ['Prophecy Productions', 'country', {'concept': 'political territorial entity'}] ['Play On', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Prophecy_Productions property:country ?o }
[]
Simple Question (Coreferenced)
USER
No, I meant Prophecy Productions. Could you tell me the answer for that?
(Q317774,P17,c(Q1048835))
Q317774
['Q317774', 'P17', {'concept': 'Q1048835'}]
['Prophecy Productions', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q317774,P17,c(Q1048835))
action filter_type
action find
entity Q317774
relation P17
type Q1048835
That division is located in [ANSWER]
['Q317774', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1048835 . resource:Q317774 property:P17 ?o }
Germany
That division is located in Germany
Germany
action filter_type
action find
entity Prophecy Productions
relation country
type political territorial entity
['Prophecy Productions', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:political_territorial_entity . resource:Prophecy_Productions property:country ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P172
Q502895
USER
Which people have that political territory as ethnic group ?
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P172 resource:Q183 . ?m rdf:type ontology:Q502895 }
Germany
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:ethnic_group resource:Germany . ?m rdf:type ontology:common_name }
[]
common name
Q63997 Q429919 Q30865
SYSTEM
Ken Adam, Philotheus Boehner, Eike Batista
Q26838019 Q63997 Q429919 Q16058601 Q6286878 Q30865
(c(Q502895),P172,Q183)
action filter_type
action find_reverse
entity Q183
relation P172
type Q502895
[ANSWERS] have that political territory as ethnic group
[{'concept': 'Q502895'}, 'P172', 'Q183']
SELECT DISTINCT ?m WHERE { ?m property:P172 resource:Q183 . ?m rdf:type ontology:Q502895 }
Konrad Baumgarten Ken Adam Philotheus Boehner Wolf Traut Joseph Schipfer Eike Batista
Ken Adam, Philotheus Boehner and Eike Batista have that political territory as ethnic group
Ken Adam Philotheus Boehner Eike Batista
action filter_type
action find_reverse
entity Germany
relation ethnic group
type common name
[{'concept': 'common name'}, 'ethnic group', 'Germany']
SELECT DISTINCT ?m WHERE { ?m property:ethnic_group resource:Germany . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q63997
P2554
Q838948
USER
Which works of art have that person as the production designer ?
(c(Q838948),P2554,Q63997)
action filter_type
action find_reverse
entity Q63997
relation P2554
type Q838948
[{'concept': 'Q838948'}, 'P2554', 'Q63997']
SELECT DISTINCT ?r WHERE { ?r property:P2554 resource:Q63997 . ?r rdf:type ontology:Q838948 }
Ken Adam
action filter_type
action find_reverse
entity Ken Adam
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Ken Adam']
SELECT DISTINCT ?r WHERE { ?r property:production_designer resource:Ken_Adam . ?r rdf:type ontology:work_of_art }
[]
work of art
Clarification for simple ques.
Q429919
SYSTEM
Did you mean Philotheus Boehner ?
Q63997 Q429919 Q30865
(c(Q838948),P2554,Q63997) (c(Q838948),P2554,Q429919) (c(Q838948),P2554,Q30865)
[ANSWER]
[{'concept': 'Q838948'}, 'P2554', 'Q63997'] [{'concept': 'Q838948'}, 'P2554', 'Q429919'] [{'concept': 'Q838948'}, 'P2554', 'Q30865']
SELECT DISTINCT ?r WHERE { ?r property:P2554 resource:Q63997 . ?r rdf:type ontology:Q838948 }
Ken Adam Philotheus Boehner Eike Batista
Did you mean Philotheus Boehner ?
Philotheus Boehner
[{'concept': 'work of art'}, 'production designer', 'Ken Adam'] [{'concept': 'work of art'}, 'production designer', 'Philotheus Boehner'] [{'concept': 'work of art'}, 'production designer', 'Eike Batista']
SELECT DISTINCT ?r WHERE { ?r property:production_designer resource:Ken_Adam . ?r rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
USER
No, I meant Ken Adam. Could you tell me the answer for that?
(c(Q838948),P2554,Q63997)
Q63997
[{'concept': 'Q838948'}, 'P2554', 'Q63997']
[{'concept': 'work of art'}, 'production designer', 'Ken Adam']
[]
Q320423 Q471716 Q105702
SYSTEM
The Spy Who Loved Me, Barry Lyndon, Dr. Strangelove
Q471716 Q1664521 Q7761608 Q204958 Q102754 Q320423 Q1737987 Q1517616 Q394816 Q1455699 Q620099 Q1475611 Q2698384 Q2059203 Q105702 Q334780 Q210509 Q107914 Q1169380 Q581501 Q657006 Q1419980 Q3614630 Q204725 Q770586 Q107761 Q683129
(c(Q838948),P2554,Q63997)
action filter_type
action find_reverse
entity Q63997
relation P2554
type Q838948
The Spy Who loved Me, Barry Lyndon and Dr. Strangelove have that person as the production designer
[{'concept': 'Q838948'}, 'P2554', 'Q63997']
SELECT DISTINCT ?r WHERE { ?r property:P2554 resource:Q63997 . ?r rdf:type ontology:Q838948 }
Barry Lyndon The Last of Sheila The Rough and the Smooth Funeral in Berlin Dr. No The Spy Who Loved Me The Seven-Per-Cent Solution The Ipcress File Agnes of God The Freshman Boys on the Side In & Out Goodbye, Mr. Chips Gideon's Day Dr. Strangelove Moonraker Salon Kitty Diamonds Are Forever Crimes of the Heart The Madness of King George Sodom and Gomorrah Sleuth In the Cool of the Day Addams Family Values The Angry Hills You Only Live Twice The Out-of-Towners
The Spy Who loved Me, Barry Lyndon and Dr. Strangelove have that person as the production designer
The Spy Who Loved Me Barry Lyndon Dr. Strangelove
action filter_type
action find_reverse
entity Ken Adam
relation production designer
type work of art
[{'concept': 'work of art'}, 'production designer', 'Ken Adam']
SELECT DISTINCT ?r WHERE { ?r property:production_designer resource:Ken_Adam . ?r rdf:type ontology:work_of_art }
[]