Simple Question (Direct)
Simple Question
Q65366
P47
Q13220204
USER
Which administrative country subdivisions are bordered by Rothenbrunnen ?
(Q65366,P47,c(Q13220204))
action filter_type
action find
entity Q65366
relation P47
type Q13220204
['Q65366', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q65366 property:P47 ?v }
Rothenbrunnen
action filter_type
action find
entity Rothenbrunnen
relation shares border with
type second-level administrative country subdivision
['Rothenbrunnen', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Rothenbrunnen property:shares_border_with ?v }
[]
second-level administrative country subdivision
Q64443 Q68266 Q66030
SYSTEM
Cazis, Domat/Ems, Rhäzüns
Q66030 Q68266 Q64443 Q2198347
(Q65366,P47,c(Q13220204))
action filter_type
action find
entity Q65366
relation P47
type Q13220204
[ANSWERS] are bordered by Rothenbrunnen
['Q65366', 'P47', {'concept': 'Q13220204'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q13220204 . resource:Q65366 property:P47 ?v }
Rhäzüns Domat/Ems Cazis Tumegl/Tomils
Cazis, Domat/Ems and Rhäzüns are bordered by Rothenbrunnen
Cazis Domat/Ems Rhäzüns
action filter_type
action find
entity Rothenbrunnen
relation shares border with
type second-level administrative country subdivision
['Rothenbrunnen', 'shares border with', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:second-level_administrative_country_subdivision . resource:Rothenbrunnen property:shares_border_with ?v }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65366
P17
Q15617994
USER
Which administrative territory is Rothenbrunnen present in ?
(Q65366,P17,c(Q15617994))
action filter_type
action find
entity Q65366
relation P17
type Q15617994
['Q65366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q65366 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Rothenbrunnen
action filter_type
action find
entity Rothenbrunnen
relation country
type designation for an administrative territorial entity
['Rothenbrunnen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rothenbrunnen property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q65366,P17,c(Q15617994))
action filter_type
action find
entity Q65366
relation P17
type Q15617994
Rothenbrunnen is in [ANSWER]
['Q65366', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q65366 property:P17 ?v . ?v rdf:type ontology:Q15617994 }
Switzerland
Rothenbrunnen is in Switzerland
Switzerland
action filter_type
action find
entity Rothenbrunnen
relation country
type designation for an administrative territorial entity
['Rothenbrunnen', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Rothenbrunnen property:country ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q39
P710
Q1914636
USER
Which activity has that administrative territory as its participant ?
(c(Q1914636),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q1914636
[{'concept': 'Q1914636'}, 'P710', 'Q39']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1914636 . ?q property:P710 resource:Q39 }
Switzerland
action filter_type
action find_reverse
entity Switzerland
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'Switzerland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:activity . ?q property:participant resource:Switzerland }
[]
activity
Q1023355
SYSTEM
CEPHEUS
Q1023355
(c(Q1914636),P710,Q39)
action filter_type
action find_reverse
entity Q39
relation P710
type Q1914636
[ANSWER] has that administrative territory as its participant
[{'concept': 'Q1914636'}, 'P710', 'Q39']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1914636 . ?q property:P710 resource:Q39 }
CEPHEUS
CEPHEUS has that administrative territory as its participant
CEPHEUS
action filter_type
action find_reverse
entity Switzerland
relation participant
type activity
[{'concept': 'activity'}, 'participant', 'Switzerland']
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:activity . ?q property:participant resource:Switzerland }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1023355
P452
Q5962346
USER
What industry does that activity belong to ?
(Q1023355,P452,c(Q5962346))
action filter_type
action find
entity Q1023355
relation P452
type Q5962346
['Q1023355', 'P452', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q5962346 . resource:Q1023355 property:P452 ?f }
CEPHEUS
action filter_type
action find
entity CEPHEUS
relation industry
type classification scheme
['CEPHEUS', 'industry', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:classification_scheme . resource:CEPHEUS property:industry ?f }
[]
classification scheme
Q349479
SYSTEM
building industry
Q349479
(Q1023355,P452,c(Q5962346))
action filter_type
action find
entity Q1023355
relation P452
type Q5962346
That activity belongs to [ANSWER]
['Q1023355', 'P452', {'concept': 'Q5962346'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q5962346 . resource:Q1023355 property:P452 ?f }
building industry
That activity belongs to building industry
building industry
action filter_type
action find
entity CEPHEUS
relation industry
type classification scheme
['CEPHEUS', 'industry', {'concept': 'classification scheme'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:classification_scheme . resource:CEPHEUS property:industry ?f }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P361
Q5962346
USER
How many classification schemes are a component of that classification scheme ?
(c(Q5962346),P361,Q349479)
action count
action filter_type
action find_reverse
entity Q349479
relation P361
type Q5962346
[{'concept': 'Q5962346'}, 'P361', 'Q349479']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P361 resource:Q349479 . ?d rdf:type ontology:Q5962346 }
action count
action filter_type
action find_reverse
entity building industry
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'building industry']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:part_of resource:building_industry . ?d rdf:type ontology:classification_scheme }
[]
classification scheme
SYSTEM
3
Q1924856 Q13955118 Q1663002
(c(Q5962346),P361,Q349479)
action count
action filter_type
action find_reverse
entity Q349479
relation P361
type Q5962346
[ANSWER]
[{'concept': 'Q5962346'}, 'P361', 'Q349479']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:P361 resource:Q349479 . ?d rdf:type ontology:Q5962346 }
metal construction earthworks engineering construction
3
action count
action filter_type
action find_reverse
entity building industry
relation part of
type classification scheme
[{'concept': 'classification scheme'}, 'part of', 'building industry']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d property:part_of resource:building_industry . ?d rdf:type ontology:classification_scheme }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P136
Q5962346 Q2088357 Q838948
USER
Which classification schemes are the genre of exactly 4 musical ensembles and works of art ?
(c(Q2088357)|c(Q838948),P136,c(Q5962346))
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
value 4
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = 4 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?s WHERE { ?u rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } } GROUP BY ?s } }
action equal
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
value 4
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = 4 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?s WHERE { ?u rdf:type ?t . VALUES ( ?t ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } } GROUP BY ?s } }
[]
classification scheme musical ensemble work of art
Q5434357 Q2091526
SYSTEM
fantasy television, medical drama
Q5434357 Q2091526
(c(Q2088357)|c(Q838948),P136,c(Q5962346))
action equal
action union
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q2088357
action find_reverse_tuple_counts
relation P136
type Q5962346
type Q838948
value 4
[ANSWERS] are the genre of exactly 4 musical ensembles and works of art
[[{'concept': 'Q2088357'}, {'concept': 'Q838948'}], 'P136', {'concept': 'Q5962346'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = 4 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?s WHERE { ?u rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2088357 ) ( ontology:Q838948 ) } } GROUP BY ?s } }
fantasy television medical drama
Fantasy television and medical drama are the genre of exactly 4 musical ensembles and works of art
fantasy television medical drama
action equal
action union
action find_reverse_tuple_counts
relation genre
type classification scheme
type musical ensemble
action find_reverse_tuple_counts
relation genre
type classification scheme
type work of art
value 4
[[{'concept': 'musical ensemble'}, {'concept': 'work of art'}], 'genre', {'concept': 'classification scheme'}]
SELECT DISTINCT ?s WHERE { FILTER ( ?d = 4 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?d ) ?s WHERE { ?u rdf:type ?t . VALUES ( ?t ) { ( ontology:musical_ensemble ) ( ontology:work_of_art ) } } GROUP BY ?s } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q35749 Q1752346 Q15617994
USER
Which administrative territories have around 1 parliaments and assemblies as their representative body ?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } . ?s rdf:type ?f } GROUP BY ?d } }
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { VALUES ( ?f ) { ( ontology:parliament ) ( ontology:assembly ) } . ?s rdf:type ?f } GROUP BY ?d } }
[]
parliament assembly designation for an administrative territorial entity
Q38 Q155 Q159
SYSTEM
Italy, Brazil, Russia
Q804 Q801 Q419 Q668 Q414 Q142 Q55 Q1948 Q145 Q717 Q657 Q258 Q1979 Q45 Q159 Q41 Q155 Q4628 Q1965 Q242 Q1974 Q33 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q747074 Q72449 Q233 Q238 Q20 Q28 Q29 Q783 Q2009 Q2007 Q184 Q2003 Q1904 Q228 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q1989 Q697 Q298 Q754 Q750 Q212 Q213 Q211 Q214 Q215 Q218 Q219 Q16110 Q79 Q77 Q811 Q1013 Q176 Q1951 Q1952 Q2023 Q869
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
value 1
[ANSWERS] have around 1 parliaments and assemblies as their representative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { VALUES ( ?f ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } . ?s rdf:type ?f } GROUP BY ?d } }
Panama Israel Peru India Argentina France Netherlands Manitoba United Kingdom Venezuela Chad South Africa Prince Edward Island Portugal Russia Greece Brazil Faroe Islands New Brunswick Belize British Columbia Finland Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia comune of Italy Roccarainola Malta San Marino Norway Hungary Spain Honduras Yukon Northwest Territories Belarus Newfoundland and Labrador Ontario Andorra Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Saskatchewan Nauru Chile Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovakia Slovenia Romania Bulgaria region of Italy Egypt Uruguay Nicaragua Lesotho Quebec Alberta Nova Scotia Nunavut Thailand
Italy, Brazil and Russia have around 1 parliaments and assemblies as their representative body
Italy Brazil Russia
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { FILTER ( ?i = 1 ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) ?d WHERE { VALUES ( ?f ) { ( ontology:parliament ) ( ontology:assembly ) } . ?s rdf:type ?f } GROUP BY ?d } }
[]