Simple Question (Direct)
Simple Question
Q6179770
P19
Q15617994
USER
Which administrative territory is the birthplace of Jens Matzen ?
(Q6179770,P19,c(Q15617994))
action filter_type
action find
entity Q6179770
relation P19
type Q15617994
['Q6179770', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6179770 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Jens Matzen
action filter_type
action find
entity Jens Matzen
relation place of birth
type designation for an administrative territorial entity
['Jens Matzen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Matzen property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q21014
SYSTEM
Niebüll
Q21014
(Q6179770,P19,c(Q15617994))
action filter_type
action find
entity Q6179770
relation P19
type Q15617994
[ANSWER] is the birthplace of Jens Matzen
['Q6179770', 'P19', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q6179770 property:P19 ?g . ?g rdf:type ontology:Q15617994 }
Niebüll
Niebüll is the birthplace of Jens Matzen
Niebüll
action filter_type
action find
entity Jens Matzen
relation place of birth
type designation for an administrative territorial entity
['Jens Matzen', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Jens_Matzen property:place_of_birth ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21014
P190
Q20667921
USER
Which french administrative division is partner town of that administrative territory ?
(c(Q20667921),P190,Q21014)
action filter_type
action find
entity Q21014
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q21014']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q21014 property:P190 ?j }
Niebüll
action filter_type
action find
entity Niebüll
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Niebüll']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Niebüll property:sister_city ?j }
[]
type of french administrative division
Q475599
SYSTEM
Gien
Q475599
(c(Q20667921),P190,Q21014)
action filter_type
action find
entity Q21014
relation P190
type Q20667921
[ANSWER] is partner town of that administrative territory
[{'concept': 'Q20667921'}, 'P190', 'Q21014']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q20667921 . resource:Q21014 property:P190 ?j }
Gien
Gien is partner town of that administrative territory
Gien
action filter_type
action find
entity Niebüll
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Niebüll']
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:type_of_french_administrative_division . resource:Niebüll property:sister_city ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q475599
P47
Q20667921
USER
Which french administrative divisions are adjacent to that one ?
(Q475599,P47,c(Q20667921))
action filter_type
action find
entity Q475599
relation P47
type Q20667921
['Q475599', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q475599 property:P47 ?m }
Gien
action filter_type
action find
entity Gien
relation shares border with
type type of french administrative division
['Gien', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Gien property:shares_border_with ?m }
[]
type of french administrative division
Q1470534 Q818443 Q1159645
SYSTEM
Ouzouer-sur-Trézée, Briare, Les Choux
Q1169703 Q1410771 Q1385151 Q616845 Q1470534 Q1391584 Q818443 Q924760 Q1159645
(Q475599,P47,c(Q20667921))
action filter_type
action find
entity Q475599
relation P47
type Q20667921
[ANSWERS] are adjacent to that one
['Q475599', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q20667921 . resource:Q475599 property:P47 ?m }
Boismorand La Bussière Saint-Brisson-sur-Loire Saint-Martin-sur-Ocre Ouzouer-sur-Trézée Nevoy Briare Poilly-lez-Gien Les Choux
Ouzouer-sur-Trézée, Briare and Les Choux are adjacent to that one
Ouzouer-sur-Trézée Briare Les Choux
action filter_type
action find
entity Gien
relation shares border with
type type of french administrative division
['Gien', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:type_of_french_administrative_division . resource:Gien property:shares_border_with ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q2732474 Q475599
P840 P17
Q15617994
USER
Which administrative territories are Gien located in and are the narrative locations of Virtua Tennis: World Tour ?
AND((Q475599,P17,c(Q15617994)), (Q2732474,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q475599
relation P17
action find
entity Q2732474
relation P840
type Q15617994
{'AND': [['Q475599', 'P17', {'concept': 'Q15617994'}], ['Q2732474', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q475599 property:P17 ?u . resource:Q2732474 property:P840 ?u . ?u rdf:type ontology:Q15617994 }
Virtua Tennis: World Tour Gien
action filter_type
action intersection
action find
entity Gien
relation country
action find
entity Virtua Tennis: World Tour
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Gien', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Virtua Tennis: World Tour', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Gien property:country ?u . resource:Virtua_Tennis:_World_Tour property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q475599,P17,c(Q15617994)), (Q2732474,P840,c(Q15617994)))
action filter_type
action intersection
action find
entity Q475599
relation P17
action find
entity Q2732474
relation P840
type Q15617994
Gien are located in [ANSWER] and are the narrative locations of Virtua Tennis : World Tour
{'AND': [['Q475599', 'P17', {'concept': 'Q15617994'}], ['Q2732474', 'P840', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?u WHERE { resource:Q475599 property:P17 ?u . resource:Q2732474 property:P840 ?u . ?u rdf:type ontology:Q15617994 }
France
Gien are located in France and are the narrative locations of Virtua Tennis : World Tour
France
action filter_type
action intersection
action find
entity Gien
relation country
action find
entity Virtua Tennis: World Tour
relation narrative location
type designation for an administrative territorial entity
{'AND': [['Gien', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Virtua Tennis: World Tour', 'narrative location', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { resource:Gien property:country ?u . resource:Virtua_Tennis:_World_Tour property:narrative_location ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q16945479 Q475599
P27 P17
Q15617994
USER
Which administrative territories are Gien present in and are Nicolas Tripoteau a civilian of ?
AND((Q475599,P17,c(Q15617994)), (Q16945479,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q475599
relation P17
action find
entity Q16945479
relation P27
type Q15617994
{'AND': [['Q475599', 'P17', {'concept': 'Q15617994'}], ['Q16945479', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q475599 property:P17 ?v . resource:Q16945479 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Nicolas Tripoteau Gien
action filter_type
action intersection
action find
entity Gien
relation country
action find
entity Nicolas Tripoteau
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Gien', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nicolas Tripoteau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Gien property:country ?v . resource:Nicolas_Tripoteau property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
AND((Q475599,P17,c(Q15617994)), (Q16945479,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q475599
relation P17
action find
entity Q16945479
relation P27
type Q15617994
Gien are of [ANSWER] and are Nicolas Tripoteau a civilian of
{'AND': [['Q475599', 'P17', {'concept': 'Q15617994'}], ['Q16945479', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { resource:Q475599 property:P17 ?v . resource:Q16945479 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
France
Gien are of France and are Nicolas Tripoteau a civilian of
France
action filter_type
action intersection
action find
entity Gien
relation country
action find
entity Nicolas Tripoteau
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Gien', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Nicolas Tripoteau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { resource:Gien property:country ?v . resource:Nicolas_Tripoteau property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q1145034
P27
Q502895
USER
Is Lubaba bint al-Harith a citizen of that administrative territory ?
(Q1145034,P27,Q142)
action is_in
entity Q1145034
action find
entity Q142
relation P27
['Q1145034', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q1145034 }
France Lubaba bint al-Harith
action is_in
entity Lubaba bint al-Harith
action find
entity France
relation country of citizenship
['Lubaba bint al-Harith', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Lubaba_bint_al-Harith }
[]
common name
SYSTEM
NO
(Q1145034,P27,Q142)
action is_in
entity Q1145034
action find
entity Q142
relation P27
[ANSWER]
['Q1145034', 'P27', 'Q142']
ASK WHERE { resource:Q142 property:P27 resource:Q1145034 }
No
action is_in
entity Lubaba bint al-Harith
action find
entity France
relation country of citizenship
['Lubaba bint al-Harith', 'country of citizenship', 'France']
ASK WHERE { resource:France property:country_of_citizenship resource:Lubaba_bint_al-Harith }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10449 Q21014
P47 P17
Q1048835
USER
Which political territories do Niebüll belong to or are adjacent to Nürnberger Land ?
OR((Q21014,P17,c(Q1048835)), (Q10449,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q21014
relation P17
action find
entity Q10449
relation P47
type Q1048835
{'OR': [['Q21014', 'P17', {'concept': 'Q1048835'}], ['Q10449', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q10449 property:P47 ?x } UNION { resource:Q21014 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
Nürnberger Land Niebüll
action filter_type
action union
action find
entity Niebüll
relation country
action find
entity Nürnberger Land
relation shares border with
type political territorial entity
{'OR': [['Niebüll', 'country', {'concept': 'political territorial entity'}], ['Nürnberger Land', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Nürnberger_Land property:shares_border_with ?x } UNION { resource:Niebüll property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10427 Q10421 Q10439 Q183 Q10445 Q10451 Q10447
SYSTEM
Neumarkt, Amberg-Sulzbach, Bayreuth, Germany, Forchheim, Roth, Erlangen-Höchstadt
Q10427 Q10421 Q10439 Q183 Q10445 Q10451 Q10447
OR((Q21014,P17,c(Q1048835)), (Q10449,P47,c(Q1048835)))
action filter_type
action union
action find
entity Q21014
relation P17
action find
entity Q10449
relation P47
type Q1048835
Niebüll belong to or are adjacent to Nürnberger Land [ANSWERS]
{'OR': [['Q21014', 'P17', {'concept': 'Q1048835'}], ['Q10449', 'P47', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Q10449 property:P47 ?x } UNION { resource:Q21014 property:P17 ?x } } . ?x rdf:type ontology:Q1048835 }
Neumarkt Amberg-Sulzbach Bayreuth Germany Forchheim Roth Erlangen-Höchstadt
Niebüll belong to or are adjacent to Nürnberger Land Neumarkt, Amberg-Sulzbach, Bayreuth, Germany, Forchheim, Roth and Erlangen-Höchstadt
Neumarkt Amberg-Sulzbach Bayreuth Germany Forchheim Roth Erlangen-Höchstadt
action filter_type
action union
action find
entity Niebüll
relation country
action find
entity Nürnberger Land
relation shares border with
type political territorial entity
{'OR': [['Niebüll', 'country', {'concept': 'political territorial entity'}], ['Nürnberger Land', 'shares border with', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?x WHERE { { { resource:Nürnberger_Land property:shares_border_with ?x } UNION { resource:Niebüll property:country ?x } } . ?x rdf:type ontology:political_territorial_entity }
[]