Simple Question (Direct)
Simple Question
Q1146149
P17
Q15617994
USER
Which administrative territory is Saint-Bonnet-sur-Gironde situated in ?
(Q1146149,P17,c(Q15617994))
action filter_type
action find
entity Q1146149
relation P17
type Q15617994
['Q1146149', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1146149 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
Saint-Bonnet-sur-Gironde
action filter_type
action find
entity Saint-Bonnet-sur-Gironde
relation country
type designation for an administrative territorial entity
['Saint-Bonnet-sur-Gironde', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Saint-Bonnet-sur-Gironde property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1146149,P17,c(Q15617994))
action filter_type
action find
entity Q1146149
relation P17
type Q15617994
Which administrative territory is Saint-Bonnet-sur-Gironde situated in
['Q1146149', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q1146149 property:P17 ?h . ?h rdf:type ontology:Q15617994 }
France
Which administrative territory is Saint-Bonnet-sur-Gironde situated in
France
action filter_type
action find
entity Saint-Bonnet-sur-Gironde
relation country
type designation for an administrative territorial entity
['Saint-Bonnet-sur-Gironde', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Saint-Bonnet-sur-Gironde property:country ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P740
Q2088357
USER
Which musical ensembles were formed at that administrative territory ?
(c(Q2088357),P740,Q142)
action filter_type
action find_reverse
entity Q142
relation P740
type Q2088357
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2088357 . ?v property:P740 resource:Q142 }
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 ?v WHERE { ?v rdf:type ontology:musical_ensemble . ?v property:location_of_formation resource:France }
[]
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
[ANSWERS] were formed at that administrative territory
[{'concept': 'Q2088357'}, 'P740', 'Q142']
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q2088357 . ?v property:P740 resource:Q142 }
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
Empyr, Les Discrets and Kids United were formed at that administrative territory
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 ?v WHERE { ?v rdf:type ontology:musical_ensemble . ?v property:location_of_formation resource:France }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q606650 Q2482652 Q22951192
P740
Q15617994
USER
Where were Empyr, Les Discrets and Kids United formed ?
(Q606650,P740,c(Q15617994)) (Q2482652,P740,c(Q15617994)) (Q22951192,P740,c(Q15617994))
action union
action filter_type
action find
entity Q606650
relation P740
type Q15617994
action filter_type
action find
entity Q2482652
relation P740
type Q15617994
action filter_type
action find
entity Q22951192
relation P740
type Q15617994
['Q606650', 'P740', {'concept': 'Q15617994'}] ['Q2482652', 'P740', {'concept': 'Q15617994'}] ['Q22951192', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?t property:P740 ?d . VALUES ( ?t ) { ( resource:Q606650 ) ( resource:Q2482652 ) } }
Empyr Les Discrets Kids United
action union
action filter_type
action find
entity Empyr
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Les Discrets
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Kids United
relation location of formation
type designation for an administrative territorial entity
['Empyr', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Les Discrets', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Kids United', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?t property:location_of_formation ?d . VALUES ( ?t ) { ( resource:Empyr ) ( resource:Les_Discrets ) } }
[]
designation for an administrative territorial entity
Q142 Q142 Q142
SYSTEM
France
Q142 Q142 Q142
(Q606650,P740,c(Q15617994)) (Q2482652,P740,c(Q15617994)) (Q22951192,P740,c(Q15617994))
action union
action filter_type
action find
entity Q606650
relation P740
type Q15617994
action filter_type
action find
entity Q2482652
relation P740
type Q15617994
action filter_type
action find
entity Q22951192
relation P740
type Q15617994
Empyr , Les Discrets and Kids United were formed in [ANSWER], [ANSWER] and [ANSWER]
['Q606650', 'P740', {'concept': 'Q15617994'}] ['Q2482652', 'P740', {'concept': 'Q15617994'}] ['Q22951192', 'P740', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { ?t property:P740 ?d . VALUES ( ?t ) { ( resource:Q606650 ) ( resource:Q2482652 ) } }
France France France
Empyr , Les Discrets and Kids United were formed in France, France and France
France France France
action union
action filter_type
action find
entity Empyr
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Les Discrets
relation location of formation
type designation for an administrative territorial entity
action filter_type
action find
entity Kids United
relation location of formation
type designation for an administrative territorial entity
['Empyr', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Les Discrets', 'location of formation', {'concept': 'designation for an administrative territorial entity'}] ['Kids United', 'location of formation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { ?t property:location_of_formation ?d . VALUES ( ?t ) { ( resource:Empyr ) ( resource:Les_Discrets ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q142
P610
Q14524493
USER
Which is the zenith of that administrative territory ?
(Q142,P610,c(Q14524493)) (Q142,P610,c(Q14524493)) (Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
['Q142', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
France
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:France property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q142,P610,c(Q14524493)) (Q142,P610,c(Q14524493)) (Q142,P610,c(Q14524493))
action filter_type
action find
entity Q142
relation P610
type Q14524493
The zenith of that administrative territory is [ANSWER]
['Q142', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}] ['Q142', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?y WHERE { resource:Q142 property:P610 ?y . ?y rdf:type ontology:Q14524493 }
Mont Blanc
The zenith of that administrative territory is Mont Blanc
Mont Blanc
action filter_type
action find
entity France
relation highest point
type terrain
['France', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}] ['France', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?y WHERE { resource:France property:highest_point ?y . ?y rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q583
P186
Q8063
USER
Which rock is used to produce that terrain ?
(Q583,P186,c(Q8063))
action filter_type
action find
entity Q583
relation P186
type Q8063
['Q583', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?k WHERE { resource:Q583 property:P186 ?k . ?k rdf:type ontology:Q8063 }
Mont Blanc
action filter_type
action find
entity Mont Blanc
relation material used
type rock
['Mont Blanc', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?k WHERE { resource:Mont_Blanc property:material_used ?k . ?k rdf:type ontology:rock }
[]
rock
Q41177
SYSTEM
granite
Q41177
(Q583,P186,c(Q8063))
action filter_type
action find
entity Q583
relation P186
type Q8063
The [ANSWER] is used to produce that terrain
['Q583', 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?k WHERE { resource:Q583 property:P186 ?k . ?k rdf:type ontology:Q8063 }
granite
The granite is used to produce that terrain
granite
action filter_type
action find
entity Mont Blanc
relation material used
type rock
['Mont Blanc', 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?k WHERE { resource:Mont_Blanc property:material_used ?k . ?k rdf:type ontology:rock }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q786519 Q606650
P495 P17
Q15617994
USER
Which administrative territories did Empyr originate or do A22 motorway belong to ?
OR((Q606650,P495,c(Q15617994)), (Q786519,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q606650
relation P495
action find
entity Q786519
relation P17
type Q15617994
{'OR': [['Q606650', 'P495', {'concept': 'Q15617994'}], ['Q786519', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q606650 property:P495 ?q } UNION { resource:Q786519 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
A22 motorway Empyr
action filter_type
action union
action find
entity Empyr
relation country of origin
action find
entity A22 motorway
relation country
type designation for an administrative territorial entity
{'OR': [['Empyr', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['A22 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Empyr property:country_of_origin ?q } UNION { resource:A22_motorway property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q45
SYSTEM
France, Portugal
Q142 Q45
OR((Q606650,P495,c(Q15617994)), (Q786519,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q606650
relation P495
action find
entity Q786519
relation P17
type Q15617994
Empyr originated in [ANSWERS] or do A22 motorway
{'OR': [['Q606650', 'P495', {'concept': 'Q15617994'}], ['Q786519', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q606650 property:P495 ?q } UNION { resource:Q786519 property:P17 ?q } } . ?q rdf:type ontology:Q15617994 }
France Portugal
Empyr originated in France and Portugal or do A22 motorway
France Portugal
action filter_type
action union
action find
entity Empyr
relation country of origin
action find
entity A22 motorway
relation country
type designation for an administrative territorial entity
{'OR': [['Empyr', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['A22 motorway', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Empyr property:country_of_origin ?q } UNION { resource:A22_motorway property:country ?q } } . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1732919
P206
Q15324 Q337567 Q14524493
USER
How many terrains are situated close to around the same number of bodies of water and still waterss as Barra Head ?
(c(Q14524493),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q14524493
type Q15324
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action count
action filter_multi_types
action find
entity Q1732919
relation P206
type Q15324
type Q337567
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:P206 ?t . ?g rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q15324 } UNION { ?g property:P206 ?t . ?g rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q337567 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q1732919 property:P206 ?u . { { ?u rdf:type ontology:Q337567 } UNION { ?u rdf:type ontology:Q15324 } } } } . FILTER ( ?x = ?q ) }
Barra Head
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type terrain
type body of water
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action count
action filter_multi_types
action find
entity Barra Head
relation located next to body of water
type body of water
type still waters
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:located_next_to_body_of_water ?t . ?g rdf:type ontology:terrain . ?t rdf:type ontology:body_of_water } UNION { ?g property:located_next_to_body_of_water ?t . ?g rdf:type ontology:terrain . ?t rdf:type ontology:still_waters } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Barra_Head property:located_next_to_body_of_water ?u . { { ?u rdf:type ontology:still_waters } UNION { ?u rdf:type ontology:body_of_water } } } } . FILTER ( ?x = ?q ) }
[]
body of water still waters terrain
SYSTEM
19
Q978441 Q476525 Q1888667 Q1193964 Q1151361 Q746262 Q1732919 Q966918 Q890658 Q1145512 Q129296 Q1734831 Q207323 Q557077 Q720720 Q131148 Q1538755 Q1858048 Q148154
(c(Q14524493),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q14524493
type Q15324
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action count
action filter_multi_types
action find
entity Q1732919
relation P206
type Q15324
type Q337567
[ANSWER]
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:P206 ?t . ?g rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q15324 } UNION { ?g property:P206 ?t . ?g rdf:type ontology:Q14524493 . ?t rdf:type ontology:Q337567 } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Q1732919 property:P206 ?u . { { ?u rdf:type ontology:Q337567 } UNION { ?u rdf:type ontology:Q15324 } } } } . FILTER ( ?x = ?q ) }
Jabal al-Tair Island Little Sitkin Island Manam Augustine Volcano Young Island Scarba Barra Head Gyali Bogoslof Island Isla Tortuga Santorini Kasatochi Island Vulcano Whakaari / White Island Karkar Island Stromboli Mayor Island / Tuhua Umboi Island Paulet Island
19
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type terrain
type body of water
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action count
action filter_multi_types
action find
entity Barra Head
relation located next to body of water
type body of water
type still waters
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) ?g WHERE { { ?g property:located_next_to_body_of_water ?t . ?g rdf:type ontology:terrain . ?t rdf:type ontology:body_of_water } UNION { ?g property:located_next_to_body_of_water ?t . ?g rdf:type ontology:terrain . ?t rdf:type ontology:still_waters } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { resource:Barra_Head property:located_next_to_body_of_water ?u . { { ?u rdf:type ontology:still_waters } UNION { ?u rdf:type ontology:body_of_water } } } } . FILTER ( ?x = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q83582
P206
Q15324 Q337567 Q14524493
USER
And what about Fernandina Island?
(c(Q14524493),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q14524493
type Q15324
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action count
action filter_multi_types
action find
entity Q83582
relation P206
type Q15324
type Q337567
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?l rdf:type ?z } GROUP BY ?c } . FILTER ( ?j = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q83582 property:P206 ?t . { { ?t rdf:type ontology:Q15324 } UNION { ?t rdf:type ontology:Q337567 } } } } }
Fernandina Island
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type terrain
type body of water
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action count
action filter_multi_types
action find
entity Fernandina Island
relation located next to body of water
type body of water
type still waters
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?l rdf:type ?z } GROUP BY ?c } . FILTER ( ?j = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Fernandina_Island property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:body_of_water } UNION { ?t rdf:type ontology:still_waters } } } } }
[]
body of water still waters terrain
SYSTEM
39
Q1421835 Q20858395 Q2662514 Q2094533 Q181515 Q3057897 Q1066434 Q1350107 Q1075808 Q1117487 Q797590 Q1340711 Q151635 Q457596 Q757314 Q1777280 Q169308 Q1664058 Q1869839 Q1414448 Q396730 Q2746323 Q966941 Q1520405 Q459948 Q2065684 Q7620138 Q986896 Q478663 Q6427027 Q83582 Q1384924 Q456599 Q2731450 Q248212 Q888857 Q487319 Q614531 Q1965316
(c(Q14524493),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q14524493
type Q15324
action find_tuple_counts
relation P206
type Q14524493
type Q337567
action count
action filter_multi_types
action find
entity Q83582
relation P206
type Q15324
type Q337567
[ANSWER]
[{'concept': 'Q14524493'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?l rdf:type ?z } GROUP BY ?c } . FILTER ( ?j = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Q83582 property:P206 ?t . { { ?t rdf:type ontology:Q15324 } UNION { ?t rdf:type ontology:Q337567 } } } } }
Nightingale Island Sugarloaf Mountain Tearaght Island Inishvickillane Genovesa Island Holy Isle, Firth of Clyde Ekarma Chirinkotan San Benedicto Island Inishtooskert Babase Island Mehetia Boreray Ambitle Atlasov Island Achillbeg Zealandia Bank Penguin Island Lopevi Tofua Agrigan Gometra Niuafoʻou Kao Ambrym Ritter Island Storm King Mountain Tinakula Alamagan Kolana Rock Fernandina Island Farallon de Pajaros Aoba Island Seaforth Island Barren Island Bobrof Island Anatahan Antsiferov Island Narcondam Island
39
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type terrain
type body of water
action find_tuple_counts
relation located next to body of water
type terrain
type still waters
action count
action filter_multi_types
action find
entity Fernandina Island
relation located next to body of water
type body of water
type still waters
[{'concept': 'terrain'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?j ) WHERE { VALUES ( ?z ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?l rdf:type ?z } GROUP BY ?c } . FILTER ( ?j = ?h ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { resource:Fernandina_Island property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:body_of_water } UNION { ?t rdf:type ontology:still_waters } } } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5791594 Q142
P17
Q15617994
USER
Which administrative territories do France or Zerikhan belong to ?
OR((Q142,P17,c(Q15617994)), (Q5791594,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P17
action find
entity Q5791594
relation P17
type Q15617994
{'OR': [['Q142', 'P17', {'concept': 'Q15617994'}], ['Q5791594', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q142 property:P17 ?r } UNION { resource:Q5791594 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Zerikhan France
action filter_type
action union
action find
entity France
relation country
action find
entity Zerikhan
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zerikhan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:France property:country ?r } UNION { resource:Zerikhan property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q794
SYSTEM
France, Iran
Q142 Q794
OR((Q142,P17,c(Q15617994)), (Q5791594,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q142
relation P17
action find
entity Q5791594
relation P17
type Q15617994
Or Zerikhan belong to France [ANSWERS]
{'OR': [['Q142', 'P17', {'concept': 'Q15617994'}], ['Q5791594', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q142 property:P17 ?r } UNION { resource:Q5791594 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
France Iran
Or Zerikhan belong to France France and Iran
France Iran
action filter_type
action union
action find
entity France
relation country
action find
entity Zerikhan
relation country
type designation for an administrative territorial entity
{'OR': [['France', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Zerikhan', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:France property:country ?r } UNION { resource:Zerikhan property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]