Simple Question (Direct)
Simple Question
Q3579906
P27
Q15617994
USER
Which administrative territory is Édouard Jonas a civilian of ?
(Q3579906,P27,c(Q15617994))
action filter_type
action find
entity Q3579906
relation P27
type Q15617994
['Q3579906', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3579906 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Édouard Jonas
action filter_type
action find
entity Édouard Jonas
relation country of citizenship
type designation for an administrative territorial entity
['Édouard Jonas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Édouard_Jonas property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3579906,P27,c(Q15617994))
action filter_type
action find
entity Q3579906
relation P27
type Q15617994
[ANSWER] is Édouard Jonas a civilian of
['Q3579906', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3579906 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
France is Édouard Jonas a civilian of
France
action filter_type
action find
entity Édouard Jonas
relation country of citizenship
type designation for an administrative territorial entity
['Édouard Jonas', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Édouard_Jonas property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3579906
P106
Q12737077
USER
What is the profession of Édouard Jonas ?
(Q3579906,P106,c(Q12737077))
action filter_type
action find
entity Q3579906
relation P106
type Q12737077
['Q3579906', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3579906 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Édouard Jonas
action filter_type
action find
entity Édouard Jonas
relation occupation
type occupation
['Édouard Jonas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Édouard_Jonas property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q3579906,P106,c(Q12737077))
action filter_type
action find
entity Q3579906
relation P106
type Q12737077
The profession of Édouard Jonas is a [ANSWER]
['Q3579906', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q3579906 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
politician
The profession of Édouard Jonas is a politician
politician
action filter_type
action find
entity Édouard Jonas
relation occupation
type occupation
['Édouard Jonas', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Édouard_Jonas property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3579906
P19
Q56061
USER
Where was that person born ?
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q3579906
relation P19
type Q56061
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3579906 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Édouard Jonas
action filter_type
action find
entity Édouard Jonas
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Édouard_Jonas property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q82955,P19,c(Q56061))
action filter_type
action find
entity Q3579906
relation P19
type Q56061
That person was born in [ANSWER]
['Q82955', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q3579906 property:P19 ?w . ?w rdf:type ontology:Q56061 }
Paris
That person was born in Paris
Paris
action filter_type
action find
entity Édouard Jonas
relation place of birth
type administrative territorial entity
['politician', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Édouard_Jonas property:place_of_birth ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3579906
P39
Q12737077
USER
What was the position held by that person ?
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3579906
relation P39
type Q12737077
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3579906 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
Édouard Jonas
action filter_type
action find
entity Édouard Jonas
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Édouard_Jonas property:position_held ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q90,P39,c(Q12737077))
action filter_type
action find
entity Q3579906
relation P39
type Q12737077
The position held by that person was a member of the French National Assembly
['Q90', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3579906 property:P39 ?v . ?v rdf:type ontology:Q12737077 }
member of the French National Assembly
The position held by that person was a member of the French National Assembly
member of the French National Assembly
action filter_type
action find
entity Édouard Jonas
relation position held
type occupation
['Paris', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Édouard_Jonas property:position_held ?v . ?v rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q307508
P206
Q355304 Q15324 Q15617994
USER
How many administrative territories are situated in the neighbourhood of lesser number of watercourses and bodies of water than Yepifan ?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q307508
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { { ?e rdf:type ontology:Q355304 . ?i rdf:type ontology:Q15617994 . ?i property:P206 ?e } UNION { ?i property:P206 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15324 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q307508 property:P206 ?o . { { ?o rdf:type ontology:Q355304 } UNION { ?o rdf:type ontology:Q15324 } } } } . FILTER ( ?g < ?n ) }
Yepifan
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Yepifan
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { { ?e rdf:type ontology:watercourse . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:located_next_to_body_of_water ?e } UNION { ?i property:located_next_to_body_of_water ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:body_of_water } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Yepifan property:located_next_to_body_of_water ?o . { { ?o rdf:type ontology:watercourse } UNION { ?o rdf:type ontology:body_of_water } } } } . FILTER ( ?g < ?n ) }
[]
watercourse body of water designation for an administrative territorial entity
SYSTEM
44
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q307508
relation P206
type Q355304
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { { ?e rdf:type ontology:Q355304 . ?i rdf:type ontology:Q15617994 . ?i property:P206 ?e } UNION { ?i property:P206 ?e . ?i rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q15324 } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Q307508 property:P206 ?o . { { ?o rdf:type ontology:Q355304 } UNION { ?o rdf:type ontology:Q15324 } } } } . FILTER ( ?g < ?n ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
44
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Yepifan
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?g ) ?i WHERE { { ?e rdf:type ontology:watercourse . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i property:located_next_to_body_of_water ?e } UNION { ?i property:located_next_to_body_of_water ?e . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:body_of_water } } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?n ) WHERE { resource:Yepifan property:located_next_to_body_of_water ?o . { { ?o rdf:type ontology:watercourse } UNION { ?o rdf:type ontology:body_of_water } } } } . FILTER ( ?g < ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q507258
P206
Q355304 Q15324 Q15617994
USER
And also tell me about Kipfenberg?
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q507258
relation P206
type Q355304
type Q15324
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?q WHERE { { ?q property:P206 ?t . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q355304 } UNION { ?q property:P206 ?t . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q507258 property:P206 ?k . { VALUES ( ?c ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } . ?k rdf:type ?c } } } . FILTER ( ?b < ?z ) }
Kipfenberg
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Kipfenberg
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?q WHERE { { ?q property:located_next_to_body_of_water ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:watercourse } UNION { ?q property:located_next_to_body_of_water ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Kipfenberg property:located_next_to_body_of_water ?k . { VALUES ( ?c ) { ( ontology:watercourse ) ( ontology:body_of_water ) } . ?k rdf:type ?c } } } . FILTER ( ?b < ?z ) }
[]
watercourse body of water designation for an administrative territorial entity
SYSTEM
44
Q505785 Q104577 Q3066319 Q668 Q525879 Q47585 Q1604782 Q6237 Q2316529 Q508863 Q1009384 Q657 Q622487 Q4628 Q664950 Q161258 Q263451 Q442666 Q3111694 Q216422 Q244095 Q7566251 Q3352704 Q519663 Q2360428 Q681329 Q560870 Q29 Q690219 Q511806 Q2043234 Q42265 Q229 Q547059 Q1604772 Q20267 Q194136 Q895413 Q567984 Q1604766 Q948 Q1974 Q4149191 Q47612
(c(Q15617994),P206,c(Q355304)|c(Q15324))
action count
action less
action union
action find_tuple_counts
relation P206
type Q15617994
type Q355304
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action count
action filter_multi_types
action find
entity Q507258
relation P206
type Q355304
type Q15324
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q355304'}, {'concept': 'Q15324'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?q WHERE { { ?q property:P206 ?t . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q355304 } UNION { ?q property:P206 ?t . ?q rdf:type ontology:Q15617994 . ?t rdf:type ontology:Q15324 } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Q507258 property:P206 ?k . { VALUES ( ?c ) { ( ontology:Q355304 ) ( ontology:Q15324 ) } . ?k rdf:type ?c } } } . FILTER ( ?b < ?z ) }
Pförring Desenzano del Garda Fala-Beguets India Haundorf Garda Ulul Lecco Noordpolderzijl Mindelstetten Weno Chad Päwesin Faroe Islands Loddin Clipperton Island Oberdolling Altmannstein Gouraya, Tipaza Samsø Bellagio South Bay Oneop Kösching Tijuana Municipality Dümmer Owschlag Spain Perlin North Slope Borough Almere Buiten Abbadia Lariana Cyprus Gnotzheim Moch Schwarz Riva del Garda Bowen Island Woleai Pisaras Tunisia British Columbia Grigorovo Domaso
44
action count
action less
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type watercourse
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action count
action filter_multi_types
action find
entity Kipfenberg
relation located next to body of water
type watercourse
type body of water
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'watercourse'}, {'concept': 'body of water'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) ?q WHERE { { ?q property:located_next_to_body_of_water ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:watercourse } UNION { ?q property:located_next_to_body_of_water ?t . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?t rdf:type ontology:body_of_water } } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?z ) WHERE { resource:Kipfenberg property:located_next_to_body_of_water ?k . { VALUES ( ?c ) { ( ontology:watercourse ) ( ontology:body_of_water ) } . ?k rdf:type ?c } } } . FILTER ( ?b < ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39042
P931
Q62447
USER
What city is served by Cheyenne ?
(c(Q62447),P931,Q39042)
action filter_type
action find_reverse
entity Q39042
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q39042']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q39042 . ?u rdf:type ontology:Q62447 }
Cheyenne
action filter_type
action find_reverse
entity Cheyenne
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Cheyenne']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:Cheyenne . ?u rdf:type ontology:aerodrome }
[]
aerodrome
Q723248
SYSTEM
Cheyenne Regional Airport
Q723248
(c(Q62447),P931,Q39042)
action filter_type
action find_reverse
entity Q39042
relation P931
type Q62447
[ANSWER] is served by Cheyenne
[{'concept': 'Q62447'}, 'P931', 'Q39042']
SELECT DISTINCT ?u WHERE { ?u property:P931 resource:Q39042 . ?u rdf:type ontology:Q62447 }
Cheyenne Regional Airport
Cheyenne Regional Airport is served by Cheyenne
Cheyenne Regional Airport
action filter_type
action find_reverse
entity Cheyenne
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Cheyenne']
SELECT DISTINCT ?u WHERE { ?u property:place_served_by_airport resource:Cheyenne . ?u rdf:type ontology:aerodrome }
[]