Simple Question (Direct)
Simple Question
Q655278
P47
Q20667921
USER
Which french administrative divisions are adjacent to Volckerinckhove ?
(Q655278,P47,c(Q20667921))
action filter_type
action find
entity Q655278
relation P47
type Q20667921
['Q655278', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q655278 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Volckerinckhove
action filter_type
action find
entity Volckerinckhove
relation shares border with
type type of french administrative division
['Volckerinckhove', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Volckerinckhove property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q930743 Q659076 Q1046977
SYSTEM
Rubrouck, Merckeghem, Bollezeele
Q659076 Q684372 Q930743 Q1046977 Q643329 Q888893 Q1088168
(Q655278,P47,c(Q20667921))
action filter_type
action find
entity Q655278
relation P47
type Q20667921
District [ANSWERS] are adjacent to Volckerinckhove
['Q655278', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?t WHERE { resource:Q655278 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Merckeghem Millam Rubrouck Bollezeele Wulverdinghe Lederzeele Broxeele
District Rubrouck, Merckeghem and Bollezeele are adjacent to Volckerinckhove
Rubrouck Merckeghem Bollezeele
action filter_type
action find
entity Volckerinckhove
relation shares border with
type type of french administrative division
['Volckerinckhove', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?t WHERE { resource:Volckerinckhove property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q659076
P17
Q15617994
USER
Which administrative territory is Merckeghem present in ?
(Q659076,P17,c(Q15617994))
action filter_type
action find
entity Q659076
relation P17
type Q15617994
['Q659076', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q659076 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
Merckeghem
action filter_type
action find
entity Merckeghem
relation country
type designation for an administrative territorial entity
['Merckeghem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Merckeghem property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q659076,P17,c(Q15617994))
action filter_type
action find
entity Q659076
relation P17
type Q15617994
Merckeghem is in [ANSWER]
['Q659076', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q659076 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
France
Merckeghem is in France
France
action filter_type
action find
entity Merckeghem
relation country
type designation for an administrative territorial entity
['Merckeghem', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Merckeghem property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4294305 Q930743
P17
Q15617994
USER
Which administrative territories are Rubrouck or Ministry of the Interior present in ?
OR((Q930743,P17,c(Q15617994)), (Q4294305,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930743
relation P17
action find
entity Q4294305
relation P17
type Q15617994
{'OR': [['Q930743', 'P17', {'concept': 'Q15617994'}], ['Q4294305', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?g ) { ( resource:Q930743 ) ( resource:Q4294305 ) } . ?g property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
Ministry of the Interior Rubrouck
action filter_type
action union
action find
entity Rubrouck
relation country
action find
entity Ministry of the Interior
relation country
type designation for an administrative territorial entity
{'OR': [['Rubrouck', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ministry of the Interior', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?g ) { ( resource:Rubrouck ) ( resource:Ministry_of_the_Interior ) } . ?g property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q419
SYSTEM
France, Peru
Q142 Q419
OR((Q930743,P17,c(Q15617994)), (Q4294305,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q930743
relation P17
action find
entity Q4294305
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q930743', 'P17', {'concept': 'Q15617994'}], ['Q4294305', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?g ) { ( resource:Q930743 ) ( resource:Q4294305 ) } . ?g property:P17 ?w } . ?w rdf:type ontology:Q15617994 }
France Peru
Which administrative territories are Rubrouck or Ministry of the Interior present in
France Peru
action filter_type
action union
action find
entity Rubrouck
relation country
action find
entity Ministry of the Interior
relation country
type designation for an administrative territorial entity
{'OR': [['Rubrouck', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ministry of the Interior', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { VALUES ( ?g ) { ( resource:Rubrouck ) ( resource:Ministry_of_the_Interior ) } . ?g property:country ?w } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q874405 Q811979 Q15617994
USER
How many administrative territories are a component of atleast 1 social groups or architectural structures ?
(c(Q15617994),P361,c(Q874405)|c(Q811979))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g property:P361 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q874405 } UNION { ?g property:P361 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q811979 } } GROUP BY ?g } . FILTER ( ?h >= 1 ) }
action count
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g property:part_of ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:social_group } UNION { ?g property:part_of ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:architectural_structure } } GROUP BY ?g } . FILTER ( ?h >= 1 ) }
[]
social group architectural structure designation for an administrative territorial entity
SYSTEM
2
Q57857 Q697685
(c(Q15617994),P361,c(Q874405)|c(Q811979))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q15617994
type Q874405
action find_tuple_counts
relation P361
type Q15617994
type Q811979
value 1
[ANSWER]
[{'concept': 'Q15617994'}, 'P361', [{'concept': 'Q874405'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g property:P361 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q874405 } UNION { ?g property:P361 ?m . ?g rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q811979 } } GROUP BY ?g } . FILTER ( ?h >= 1 ) }
Zschorlau House of Nassau-Weilburg
2
action count
action atleast
action union
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type social group
action find_tuple_counts
relation part of
type designation for an administrative territorial entity
type architectural structure
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'part of', [{'concept': 'social group'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) ?g WHERE { { ?g property:part_of ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:social_group } UNION { ?g property:part_of ?m . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:architectural_structure } } GROUP BY ?g } . FILTER ( ?h >= 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q419 Q17056472
P30
Q2221906
USER
How many geographic locations are Peru or Indraprastha Institute of Information Technology Delhi situated in ?
(Q419,P30,c(Q2221906)) (Q17056472,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q419
relation P30
type Q2221906
action filter_type
action find
entity Q17056472
relation P30
type Q2221906
['Q419', 'P30', {'concept': 'Q2221906'}] ['Q17056472', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Q419 ) ( resource:Q17056472 ) } . ?b property:P30 ?i }
Peru Indraprastha Institute of Information Technology Delhi
action count
action union
action filter_type
action find
entity Peru
relation continent
type geographic location
action filter_type
action find
entity Indraprastha Institute of Information Technology Delhi
relation continent
type geographic location
['Peru', 'continent', {'concept': 'geographic location'}] ['Indraprastha Institute of Information Technology Delhi', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Peru ) ( resource:Indraprastha_Institute_of_Information_Technology_Delhi ) } . ?b property:continent ?i }
[]
geographic location
SYSTEM
2
Q18 Q48
(Q419,P30,c(Q2221906)) (Q17056472,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q419
relation P30
type Q2221906
action filter_type
action find
entity Q17056472
relation P30
type Q2221906
[ANSWER]
['Q419', 'P30', {'concept': 'Q2221906'}] ['Q17056472', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Q419 ) ( resource:Q17056472 ) } . ?b property:P30 ?i }
South America Asia
2
action count
action union
action filter_type
action find
entity Peru
relation continent
type geographic location
action filter_type
action find
entity Indraprastha Institute of Information Technology Delhi
relation continent
type geographic location
['Peru', 'continent', {'concept': 'geographic location'}] ['Indraprastha Institute of Information Technology Delhi', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { VALUES ( ?b ) { ( resource:Peru ) ( resource:Indraprastha_Institute_of_Information_Technology_Delhi ) } . ?b property:continent ?i }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q419 Q127912
P138
Q838948
USER
How many works of art come from Peru or Declaration of Independence of the United States ?
(c(Q838948),P138,Q419) (c(Q838948),P138,Q127912)
action count
action union
action filter_type
action find_reverse
entity Q419
relation P138
type Q838948
action filter_type
action find_reverse
entity Q127912
relation P138
type Q838948
[{'concept': 'Q838948'}, 'P138', 'Q419'] [{'concept': 'Q838948'}, 'P138', 'Q127912']
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:P138 resource:Q419 . ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q838948 . ?x property:P138 resource:Q127912 } }
Peru Declaration of Independence of the United States
action count
action union
action filter_type
action find_reverse
entity Peru
relation named after
type work of art
action filter_type
action find_reverse
entity Declaration of Independence of the United States
relation named after
type work of art
[{'concept': 'work of art'}, 'named after', 'Peru'] [{'concept': 'work of art'}, 'named after', 'Declaration of Independence of the United States']
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:named_after resource:Peru . ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:work_of_art . ?x property:named_after resource:Declaration_of_Independence_of_the_United_States } }
[]
work of art
SYSTEM
5
Q7758822 Q3576800 Q4006586 Q7758824 Q220515
(c(Q838948),P138,Q419) (c(Q838948),P138,Q127912)
action count
action union
action filter_type
action find_reverse
entity Q419
relation P138
type Q838948
action filter_type
action find_reverse
entity Q127912
relation P138
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P138', 'Q419'] [{'concept': 'Q838948'}, 'P138', 'Q127912']
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:P138 resource:Q419 . ?x rdf:type ontology:Q838948 } UNION { ?x rdf:type ontology:Q838948 . ?x property:P138 resource:Q127912 } }
The Pursuit of Happiness And the Pursuit of Happiness The Pursuit of Happiness The Pursuit of Happiness The Pursuit of Happyness
5
action count
action union
action filter_type
action find_reverse
entity Peru
relation named after
type work of art
action filter_type
action find_reverse
entity Declaration of Independence of the United States
relation named after
type work of art
[{'concept': 'work of art'}, 'named after', 'Peru'] [{'concept': 'work of art'}, 'named after', 'Declaration of Independence of the United States']
SELECT DISTINCT ( COUNT ( ?x ) AS ?y ) WHERE { { ?x property:named_after resource:Peru . ?x rdf:type ontology:work_of_art } UNION { ?x rdf:type ontology:work_of_art . ?x property:named_after resource:Declaration_of_Independence_of_the_United_States } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q419
P36
Q56061
USER
Which administrative territory is called the capital of Peru ?
(Q419,P36,c(Q56061))
action filter_type
action find
entity Q419
relation P36
type Q56061
['Q419', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q419 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Peru
action filter_type
action find
entity Peru
relation capital
type administrative territorial entity
['Peru', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peru property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2868
SYSTEM
Lima
Q2868
(Q419,P36,c(Q56061))
action filter_type
action find
entity Q419
relation P36
type Q56061
[ANSWER] is called the capital of Peru
['Q419', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q419 property:P36 ?t . ?t rdf:type ontology:Q56061 }
Lima
Lima is called the capital of Peru
Lima
action filter_type
action find
entity Peru
relation capital
type administrative territorial entity
['Peru', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Peru property:capital ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]