Simple Question (Direct)
Simple Question
Q4286265
P106
Q12737077
USER
What does Aslan Mashukov do for a living ?
(Q4286265,P106,c(Q12737077))
action filter_type
action find
entity Q4286265
relation P106
type Q12737077
['Q4286265', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4286265 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
Aslan Mashukov
action filter_type
action find
entity Aslan Mashukov
relation occupation
type occupation
['Aslan Mashukov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Aslan_Mashukov property:occupation ?x . ?x rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q4286265,P106,c(Q12737077))
action filter_type
action find
entity Q4286265
relation P106
type Q12737077
[ANSWER] Aslan Mashukov does for a living
['Q4286265', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?x WHERE { resource:Q4286265 property:P106 ?x . ?x rdf:type ontology:Q12737077 }
association football player
Association football player Aslan Mashukov does for a living
association football player
action filter_type
action find
entity Aslan Mashukov
relation occupation
type occupation
['Aslan Mashukov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?x WHERE { resource:Aslan_Mashukov property:occupation ?x . ?x rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4286265
P21
Q290
USER
Which sex does that person have ?
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4286265
relation P21
type Q290
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4286265 property:P21 ?y . ?y rdf:type ontology:Q290 }
Aslan Mashukov
action filter_type
action find
entity Aslan Mashukov
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Aslan_Mashukov property:gender ?y . ?y rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q937857,P21,c(Q290))
action filter_type
action find
entity Q4286265
relation P21
type Q290
That person has a [ANSWER]
['Q937857', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?y WHERE { resource:Q4286265 property:P21 ?y . ?y rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Aslan Mashukov
relation gender
type sex
['association football player', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?y WHERE { resource:Aslan_Mashukov property:gender ?y . ?y rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4286265
P641
Q349
USER
Which sport was Aslan Mashukov a part of ?
(Q4286265,P641,c(Q349))
action filter_type
action find
entity Q4286265
relation P641
type Q349
['Q4286265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4286265 property:P641 ?s . ?s rdf:type ontology:Q349 }
Aslan Mashukov
action filter_type
action find
entity Aslan Mashukov
relation sport
type sport
['Aslan Mashukov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Aslan_Mashukov property:sport ?s . ?s rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4286265,P641,c(Q349))
action filter_type
action find
entity Q4286265
relation P641
type Q349
Which sport was Aslan Mashukov a part of
['Q4286265', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { resource:Q4286265 property:P641 ?s . ?s rdf:type ontology:Q349 }
association football
Which sport was Aslan Mashukov a part of
association football
action filter_type
action find
entity Aslan Mashukov
relation sport
type sport
['Aslan Mashukov', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { resource:Aslan_Mashukov property:sport ?s . ?s rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2632115
Q349
USER
And what about 2011 Spengler Cup?
(Q2632115,P641,c(Q349))
action filter_type
action find
entity Q2632115
relation P641
type Q349
['Q2632115', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q2632115 property:P641 ?f }
2011 Spengler Cup
action filter_type
action find
entity 2011 Spengler Cup
relation sport
type sport
['2011 Spengler Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:2011_Spengler_Cup property:sport ?f }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q2632115,P641,c(Q349))
action filter_type
action find
entity Q2632115
relation P641
type Q349
[ANSWER]
['Q2632115', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q349 . resource:Q2632115 property:P641 ?f }
ice hockey
ice hockey
action filter_type
action find
entity 2011 Spengler Cup
relation sport
type sport
['2011 Spengler Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:sport . resource:2011_Spengler_Cup property:sport ?f }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q16466641 Q4286265
P27 P17
Q15617994
USER
Which administrative territories are Aslan Mashukov an inhabitant of or do Wadi an-Naaim belong to ?
OR((Q4286265,P27,c(Q15617994)), (Q16466641,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4286265
relation P27
action find
entity Q16466641
relation P17
type Q15617994
{'OR': [['Q4286265', 'P27', {'concept': 'Q15617994'}], ['Q16466641', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4286265 property:P27 ?s } UNION { resource:Q16466641 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Wadi an-Naaim Aslan Mashukov
action filter_type
action union
action find
entity Aslan Mashukov
relation country of citizenship
action find
entity Wadi an-Naaim
relation country
type designation for an administrative territorial entity
{'OR': [['Aslan Mashukov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wadi an-Naaim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Aslan_Mashukov property:country_of_citizenship ?s } UNION { resource:Wadi_an-Naaim property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q858 Q159
SYSTEM
Syria, Russia
Q858 Q159
OR((Q4286265,P27,c(Q15617994)), (Q16466641,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4286265
relation P27
action find
entity Q16466641
relation P17
type Q15617994
[ANSWERS] are Aslan Mashukov an inhabitant of or do Wadi an-Naaim belong to
{'OR': [['Q4286265', 'P27', {'concept': 'Q15617994'}], ['Q16466641', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q4286265 property:P27 ?s } UNION { resource:Q16466641 property:P17 ?s } } . ?s rdf:type ontology:Q15617994 }
Syria Russia
Syria and Russia are Aslan Mashukov an inhabitant of or do Wadi an-Naaim belong to
Syria Russia
action filter_type
action union
action find
entity Aslan Mashukov
relation country of citizenship
action find
entity Wadi an-Naaim
relation country
type designation for an administrative territorial entity
{'OR': [['Aslan Mashukov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Wadi an-Naaim', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Aslan_Mashukov property:country_of_citizenship ?s } UNION { resource:Wadi_an-Naaim property:country ?s } } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q525879
P206
Q15324 Q337567 Q15617994
USER
How many administrative territories are located in the neighbourhood of around the same number of bodies of water and still waterss as Haundorf ?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q525879
relation P206
type Q15324
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?e rdf:type ?w } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q525879 property:P206 ?c . { VALUES ( ?s ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?c rdf:type ?s } } } . FILTER ( ?o = ?t ) }
Haundorf
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Haundorf
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?e rdf:type ?w } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Haundorf property:located_next_to_body_of_water ?c . { VALUES ( ?s ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?c rdf:type ?s } } } . FILTER ( ?o = ?t ) }
[]
body of water still waters designation for an administrative territorial entity
SYSTEM
98
Q505785 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q1604782 Q241358 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q532046 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q519663 Q2360428 Q255698 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q917406 Q511806 Q548982 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q522677 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q525879
relation P206
type Q15324
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?e rdf:type ?w } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q525879 property:P206 ?c . { VALUES ( ?s ) { ( ontology:Q337567 ) ( ontology:Q15324 ) } . ?c rdf:type ?s } } } . FILTER ( ?o = ?t ) }
Pförring Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Ulul Schleiden Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Fischen Shillingford Yepifan Dorfhain Oneop Eichstätt Kösching Tijuana Municipality Abensberg Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Niamey V North Slope Borough Heidenheim Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Nassenfels Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna
98
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Haundorf
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?e ) AS ?o ) WHERE { VALUES ( ?w ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?e rdf:type ?w } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Haundorf property:located_next_to_body_of_water ?c . { VALUES ( ?s ) { ( ontology:still_waters ) ( ontology:body_of_water ) } . ?c rdf:type ?s } } } . FILTER ( ?o = ?t ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q7942378
P206
Q15324 Q337567 Q15617994
USER
And what about Voxna?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q7942378
relation P206
type Q15324
type Q337567
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?f WHERE { { ?f property:P206 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } UNION { ?f property:P206 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q337567 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q7942378 property:P206 ?t . { { ?t rdf:type ontology:Q337567 } UNION { ?t rdf:type ontology:Q15324 } } } } . FILTER ( ?k = ?b ) }
Voxna
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Voxna
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?f WHERE { { ?f property:located_next_to_body_of_water ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } UNION { ?f property:located_next_to_body_of_water ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:still_waters } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Voxna property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:still_waters } UNION { ?t rdf:type ontology:body_of_water } } } } . FILTER ( ?k = ?b ) }
[]
body of water still waters designation for an administrative territorial entity
SYSTEM
98
Q505785 Q3066319 Q31872 Q668 Q525879 Q572949 Q267993 Q525864 Q487328 Q1604782 Q241358 Q2316529 Q525945 Q14859 Q508863 Q1650693 Q1009384 Q657 Q214 Q622487 Q4628 Q503693 Q4391124 Q528579 Q493924 Q555609 Q161258 Q491751 Q10903 Q11343 Q263451 Q442666 Q14825 Q3111694 Q216422 Q532046 Q7496670 Q307508 Q6685 Q3352704 Q252772 Q519663 Q2360428 Q255698 Q1984541 Q560870 Q621469 Q28 Q29 Q3088406 Q917406 Q511806 Q548982 Q14889 Q229 Q347 Q338094 Q3939 Q525889 Q622456 Q154322 Q509998 Q539787 Q7042 Q525900 Q507258 Q213 Q547059 Q269010 Q262684 Q573230 Q1604772 Q3923 Q174307 Q522992 Q522677 Q257859 Q252320 Q251778 Q895413 Q53742 Q567984 Q526087 Q1604766 Q7561974 Q948 Q2758 Q1974 Q573454 Q509536 Q4077862 Q1984544 Q494305 Q304745 Q542837 Q12056 Q4149191 Q7942378
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action count
action filter_multi_types
action find
entity Q7942378
relation P206
type Q15324
type Q337567
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?f WHERE { { ?f property:P206 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } UNION { ?f property:P206 ?q . ?f rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q337567 } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q7942378 property:P206 ?t . { { ?t rdf:type ontology:Q337567 } UNION { ?t rdf:type ontology:Q15324 } } } } . FILTER ( ?k = ?b ) }
Pförring Fala-Beguets Moosburg an der Isar India Haundorf Solnhofen Muhr am See Höttingen Marktl Ulul Schleiden Noordpolderzijl Pfofeld Ansbach Mindelstetten Niamey III Weno Chad Slovakia Päwesin Faroe Islands Riedenburg Rakhlitsy Wörth an der Isar Pasewalk Magdala Clipperton Island Pfatter Finnentrop Wetter (Ruhr) Oberdolling Altmannstein Memmingen Gouraya, Tipaza Samsø Fischen Shillingford Yepifan Dorfhain Oneop Eichstätt Kösching Tijuana Municipality Abensberg Niamey II Owschlag Wennigsen Hungary Spain Front de Seine Niamey V North Slope Borough Heidenheim Schwabach Cyprus Liechtenstein Polsingen Dinslaken Westheim Lage South Bank Wellheim Markt Berolzheim Amberg Meinheim Kipfenberg Czech Republic Gnotzheim Neustadt an der Donau Füssen Beilngries Moch Bayreuth Essing Braunlage Nassenfels Cham Pleinfeld Vohburg Bowen Island Donauwörth Woleai Nennslingen Pisaras Sonning Eye Tunisia Mönchengladbach British Columbia Hedersleben Landau an der Isar Baranovskiy Niamey I Kelheim Niamey IV Ettenstatt Oschatz Grigorovo Voxna
98
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action count
action filter_multi_types
action find
entity Voxna
relation located next to body of water
type body of water
type still waters
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?f WHERE { { ?f property:located_next_to_body_of_water ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } UNION { ?f property:located_next_to_body_of_water ?q . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:still_waters } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Voxna property:located_next_to_body_of_water ?t . { { ?t rdf:type ontology:still_waters } UNION { ?t rdf:type ontology:body_of_water } } } } . FILTER ( ?k = ?b ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q337567 Q15324 Q15617994
USER
Which administrative territories are located nearby atleast 2 still waterss and bodies of water ?
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 2
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?q >= 2 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?o property:P206 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15324 } UNION { ?o property:P206 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q337567 } } GROUP BY ?o } }
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?q >= 2 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?o property:located_next_to_body_of_water ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:body_of_water } UNION { ?o property:located_next_to_body_of_water ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:still_waters } } GROUP BY ?o } }
[]
still waters body of water designation for an administrative territorial entity
Q801 Q884
SYSTEM
Israel, South Korea
Q801 Q884
(c(Q15617994),P206,c(Q337567)|c(Q15324))
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q337567
action find_tuple_counts
relation P206
type Q15617994
type Q15324
value 2
[ANSWERS] are located nearby atleast 2 still waterss and bodies of water
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q337567'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?q >= 2 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?o property:P206 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15324 } UNION { ?o property:P206 ?d . ?o rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q337567 } } GROUP BY ?o } }
Israel South Korea
Israel and South Korea are located nearby atleast 2 still waterss and bodies of water
Israel South Korea
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'still waters'}, {'concept': 'body of water'}]]
SELECT DISTINCT ?o WHERE { FILTER ( ?q >= 2 ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) ?o WHERE { { ?o property:located_next_to_body_of_water ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:body_of_water } UNION { ?o property:located_next_to_body_of_water ?d . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:still_waters } } GROUP BY ?o } }
[]