Simple Question (Direct)
Simple Question
Q3308992
P19
Q20667921
USER
Which french administrative division is the birthplace of Michel Bernanos ?
(Q3308992,P19,c(Q20667921))
action filter_type
action find
entity Q3308992
relation P19
type Q20667921
['Q3308992', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q3308992 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Michel Bernanos
action filter_type
action find
entity Michel Bernanos
relation place of birth
type type of french administrative division
['Michel Bernanos', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Michel_Bernanos property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q382079
SYSTEM
Fressin
Q382079
(Q3308992,P19,c(Q20667921))
action filter_type
action find
entity Q3308992
relation P19
type Q20667921
[ANSWER] is the birthplace of Michel Bernanos
['Q3308992', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?z WHERE { resource:Q3308992 property:P19 ?z . ?z rdf:type ontology:Q20667921 }
Fressin
Fressin is the birthplace of Michel Bernanos
Fressin
action filter_type
action find
entity Michel Bernanos
relation place of birth
type type of french administrative division
['Michel Bernanos', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?z WHERE { resource:Michel_Bernanos property:place_of_birth ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q382079
P47
Q20667921
USER
Which french administrative divisions are next to the border of that one ?
(c(Q20667921),P47,Q382079)
action filter_type
action find
entity Q382079
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q382079']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q382079 property:P47 ?b }
Fressin
action filter_type
action find
entity Fressin
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Fressin']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Fressin property:shares_border_with ?b }
[]
type of french administrative division
Q238339 Q595155 Q604447
SYSTEM
Azincourt, Wamin, Auchy-lès-Hesdin
Q384795 Q595155 Q238339 Q991222 Q936748 Q604447 Q495699 Q1025820
(c(Q20667921),P47,Q382079)
action filter_type
action find
entity Q382079
relation P47
type Q20667921
[ANSWERS] are next to the border of that one
[{'concept': 'Q20667921'}, 'P47', 'Q382079']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q20667921 . resource:Q382079 property:P47 ?b }
Planques Wamin Azincourt Wambercourt Sains-lès-Fressin Auchy-lès-Hesdin Royon Lebiez
Azincourt, Wamin and Auchy-lès-Hesdin are next to the border of that one
Azincourt Wamin Auchy-lès-Hesdin
action filter_type
action find
entity Fressin
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Fressin']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:type_of_french_administrative_division . resource:Fressin property:shares_border_with ?b }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P47
Q20667921
USER
How many french administrative divisions do that french administrative division share a border with ?
(c(Q20667921),P47,Q238339)
[{'concept': 'Q20667921'}, 'P47', 'Q238339']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1170892 . ?z rdf:type ontology:Q20667921 }
[{'concept': 'type of french administrative division'}, 'shares border with', 'Azincourt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Azincourt . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Quantitative|Count|Single entity type|Clarification
Q595155
SYSTEM
Did you mean Wamin ?
(c(Q20667921),P47,Q238339) (c(Q20667921),P47,Q595155) (c(Q20667921),P47,Q604447)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q238339'] [{'concept': 'Q20667921'}, 'P47', 'Q595155'] [{'concept': 'Q20667921'}, 'P47', 'Q604447']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1170892 . ?z rdf:type ontology:Q20667921 }
Did you mean Wamin ?
Wamin
[{'concept': 'type of french administrative division'}, 'shares border with', 'Azincourt'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Wamin'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Auchy-lès-Hesdin']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Azincourt . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Azincourt. Could you tell me the answer for that?
(c(Q20667921),P47,Q238339)
Q238339
[{'concept': 'Q20667921'}, 'P47', 'Q238339']
[{'concept': 'type of french administrative division'}, 'shares border with', 'Azincourt']
[]
SYSTEM
9
Q384795 Q1023169 Q605612 Q604447 Q993629 Q681859 Q854582 Q495685 Q382079
(c(Q20667921),P47,Q238339)
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q238339']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P47 resource:Q1170892 . ?z rdf:type ontology:Q20667921 }
Planques Tramecourt Maisoncelle Auchy-lès-Hesdin Canlers Béalencourt Avondance Ruisseauville Fressin
9
[{'concept': 'type of french administrative division'}, 'shares border with', 'Azincourt']
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:shares_border_with resource:Azincourt . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q238339
P17
Q15617994
USER
Which administrative territory is Azincourt a part of ?
(Q238339,P17,c(Q15617994))
action filter_type
action find
entity Q238339
relation P17
type Q15617994
['Q238339', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q238339 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
Azincourt
action filter_type
action find
entity Azincourt
relation country
type designation for an administrative territorial entity
['Azincourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Azincourt property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q238339,P17,c(Q15617994))
action filter_type
action find
entity Q238339
relation P17
type Q15617994
Which administrative territory is Azincourt a part of
['Q238339', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q238339 property:P17 ?x . ?x rdf:type ontology:Q15617994 }
France
Which administrative territory is Azincourt a part of
France
action filter_type
action find
entity Azincourt
relation country
type designation for an administrative territorial entity
['Azincourt', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Azincourt property:country ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with atleast 61 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 61
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?q ) WHERE { ?w property:P530 ?o . ?w rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?q >= 61 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?q ) WHERE { ?w property:diplomatic_relation ?o . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?q >= 61 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 61
[ANSWERS] have diplomatic relations with atleast 61 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?q ) WHERE { ?w property:P530 ?o . ?w rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 } GROUP BY ?w } . FILTER ( ?q >= 61 ) }
Italy Georgia
Italy and Georgia have diplomatic relations with atleast 61 administrative territories
Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 61
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?q ) WHERE { ?w property:diplomatic_relation ?o . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?w } . FILTER ( ?q >= 61 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q38 Q1043
P138
Q15324
USER
How many bodies of water come from Italy or Carl Linnaeus ?
(c(Q15324),P138,Q38) (c(Q15324),P138,Q1043)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P138
type Q15324
action filter_type
action find_reverse
entity Q1043
relation P138
type Q15324
[{'concept': 'Q15324'}, 'P138', 'Q38'] [{'concept': 'Q15324'}, 'P138', 'Q1043']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i rdf:type ontology:Q15324 . ?i property:P138 resource:Q38 } UNION { ?i property:P138 resource:Q1043 . ?i rdf:type ontology:Q15324 } }
Italy Carl Linnaeus
action count
action union
action filter_type
action find_reverse
entity Italy
relation named after
type body of water
action filter_type
action find_reverse
entity Carl Linnaeus
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Italy'] [{'concept': 'body of water'}, 'named after', 'Carl Linnaeus']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i rdf:type ontology:body_of_water . ?i property:named_after resource:Italy } UNION { ?i property:named_after resource:Carl_Linnaeus . ?i rdf:type ontology:body_of_water } }
[]
body of water
SYSTEM
2
Q18572539 Q21855228
(c(Q15324),P138,Q38) (c(Q15324),P138,Q1043)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P138
type Q15324
action filter_type
action find_reverse
entity Q1043
relation P138
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P138', 'Q38'] [{'concept': 'Q15324'}, 'P138', 'Q1043']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i rdf:type ontology:Q15324 . ?i property:P138 resource:Q38 } UNION { ?i property:P138 resource:Q1043 . ?i rdf:type ontology:Q15324 } }
Linnébreen Linné Glacier
2
action count
action union
action filter_type
action find_reverse
entity Italy
relation named after
type body of water
action filter_type
action find_reverse
entity Carl Linnaeus
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Italy'] [{'concept': 'body of water'}, 'named after', 'Carl Linnaeus']
SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) WHERE { { ?i rdf:type ontology:body_of_water . ?i property:named_after resource:Italy } UNION { ?i property:named_after resource:Carl_Linnaeus . ?i rdf:type ontology:body_of_water } }
[]