Simple Question (Direct)
Simple Question
Q3725988
P27
Q15617994
USER
Which administrative territory is Enrico Piccioni an inhabitant of ?
(Q3725988,P27,c(Q15617994))
action filter_type
action find
entity Q3725988
relation P27
type Q15617994
['Q3725988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3725988 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Enrico Piccioni
action filter_type
action find
entity Enrico Piccioni
relation country of citizenship
type designation for an administrative territorial entity
['Enrico Piccioni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Enrico_Piccioni property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3725988,P27,c(Q15617994))
action filter_type
action find
entity Q3725988
relation P27
type Q15617994
[ANSWER] is Enrico Piccioni an inhabitant of
['Q3725988', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q3725988 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Italy
Italy is Enrico Piccioni an inhabitant of
Italy
action filter_type
action find
entity Enrico Piccioni
relation country of citizenship
type designation for an administrative territorial entity
['Enrico Piccioni', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Enrico_Piccioni property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3725988
P106
Q12737077
USER
What are the job of that person ?
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3725988
relation P106
type Q12737077
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3725988 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Enrico Piccioni
action filter_type
action find
entity Enrico Piccioni
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Enrico_Piccioni property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q38,P106,c(Q12737077))
action filter_type
action find
entity Q3725988
relation P106
type Q12737077
The job of that person are also [ANSWERS]
['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q3725988 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
association football manager association football player
The job of that person are also association football manager and association football player
association football manager association football player
action filter_type
action find
entity Enrico Piccioni
relation occupation
type occupation
['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Enrico_Piccioni property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1227837
P106
Q502895
USER
Do Dirk Elsemann have those occupations as his/her means of employment ?
(Q1227837,P106,Q628099) (Q1227837,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q1227837
relation P106
['Q1227837', 'P106', 'Q628099'] ['Q1227837', 'P106', 'Q937857']
ASK WHERE { resource:Q1227837 property:P106 ?p . VALUES ( ?p ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
Dirk Elsemann
action is_in
entity prev_answer
action find
entity Dirk Elsemann
relation occupation
['Dirk Elsemann', 'occupation', 'association football manager'] ['Dirk Elsemann', 'occupation', 'association football player']
ASK WHERE { resource:Dirk_Elsemann property:occupation ?p . VALUES ( ?p ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
common name
SYSTEM
NO
(Q1227837,P106,Q628099) (Q1227837,P106,Q937857)
action is_in
entity prev_answer
action find
entity Q1227837
relation P106
[ANSWER]
['Q1227837', 'P106', 'Q628099'] ['Q1227837', 'P106', 'Q937857']
ASK WHERE { resource:Q1227837 property:P106 ?p . VALUES ( ?p ) { ( resource:Q628099 ) ( resource:Q937857 ) } }
No
action is_in
entity prev_answer
action find
entity Dirk Elsemann
relation occupation
['Dirk Elsemann', 'occupation', 'association football manager'] ['Dirk Elsemann', 'occupation', 'association football player']
ASK WHERE { resource:Dirk_Elsemann property:occupation ?p . VALUES ( ?p ) { ( resource:association_football_manager ) ( resource:association_football_player ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3367427 Q937857
P425 P641
Q349
USER
Which sports are associated with the field of occupation association football player and did Pascal Gastien participate in ?
AND((Q937857,P425,c(Q349)), (Q3367427,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q3367427
relation P641
type Q349
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3367427', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . resource:Q3367427 property:P641 ?l . ?l rdf:type ontology:Q349 }
Pascal Gastien association football player
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Pascal Gastien
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Pascal Gastien', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . resource:Pascal_Gastien property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
AND((Q937857,P425,c(Q349)), (Q3367427,P641,c(Q349)))
action filter_type
action intersection
action find
entity Q937857
relation P425
action find
entity Q3367427
relation P641
type Q349
Team [ANSWER] is associated with the field of occupation [ANSWER] player and did Pascal Gastien participate in
{'AND': [['Q937857', 'P425', {'concept': 'Q349'}], ['Q3367427', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?l WHERE { resource:Q937857 property:P425 ?l . resource:Q3367427 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Team association football is associated with the field of occupation association football player and did Pascal Gastien participate in
association football
action filter_type
action intersection
action find
entity association football player
relation field of this occupation
action find
entity Pascal Gastien
relation sport
type sport
{'AND': [['association football player', 'field of this occupation', {'concept': 'sport'}], ['Pascal Gastien', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?l WHERE { resource:association_football_player property:field_of_this_occupation ?l . resource:Pascal_Gastien property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3367427
P19
Q20667921
USER
Which french administrative division was that person born in ?
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q3367427
relation P19
type Q20667921
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q3367427 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Pascal Gastien
action filter_type
action find
entity Pascal Gastien
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Pascal_Gastien property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q207587
SYSTEM
Rochefort
Q207587
(Q2736,P19,c(Q20667921))
action filter_type
action find
entity Q3367427
relation P19
type Q20667921
That person was born at [ANSWER]
['Q2736', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?e WHERE { resource:Q3367427 property:P19 ?e . ?e rdf:type ontology:Q20667921 }
Rochefort
That person was born at Rochefort
Rochefort
action filter_type
action find
entity Pascal Gastien
relation place of birth
type type of french administrative division
['association football', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?e WHERE { resource:Pascal_Gastien property:place_of_birth ?e . ?e rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1376
Q20667921 Q515
USER
How many cities are the county seat for atleast 20 french administrative divisions ?
(c(Q515),P1376,c(Q20667921))
action count
action atleast
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 20
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?o property:P1376 ?n . ?o rdf:type ontology:Q515 . ?n rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?t >= 20 ) }
action count
action atleast
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 20
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?o property:capital_of ?n . ?o rdf:type ontology:city . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?t >= 20 ) }
[]
type of french administrative division city
SYSTEM
1
Q23482
(c(Q515),P1376,c(Q20667921))
action count
action atleast
action find_tuple_counts
relation P1376
type Q515
type Q20667921
value 20
[ANSWER]
[{'concept': 'Q515'}, 'P1376', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?o property:P1376 ?n . ?o rdf:type ontology:Q515 . ?n rdf:type ontology:Q20667921 } GROUP BY ?o } . FILTER ( ?t >= 20 ) }
Marseille
1
action count
action atleast
action find_tuple_counts
relation capital of
type city
type type of french administrative division
value 20
[{'concept': 'city'}, 'capital of', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?e ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?n ) AS ?t ) WHERE { ?o property:capital_of ?n . ?o rdf:type ontology:city . ?n rdf:type ontology:type_of_french_administrative_division } GROUP BY ?o } . FILTER ( ?t >= 20 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q207587
P190
Q56061
USER
Which administrative territories are twin towns of Rochefort ?
(Q207587,P190,c(Q56061))
action filter_type
action find
entity Q207587
relation P190
type Q56061
['Q207587', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q207587 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Rochefort
action filter_type
action find
entity Rochefort
relation sister city
type administrative territorial entity
['Rochefort', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rochefort property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q494693 Q28271
SYSTEM
Torrelavega, Annapolis
Q494693 Q28271
(Q207587,P190,c(Q56061))
action filter_type
action find
entity Q207587
relation P190
type Q56061
[ANSWERS] are twin towns of Rochefort
['Q207587', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?w WHERE { resource:Q207587 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Torrelavega Annapolis
Torrelavega and Annapolis are twin towns of Rochefort
Torrelavega Annapolis
action filter_type
action find
entity Rochefort
relation sister city
type administrative territorial entity
['Rochefort', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Rochefort property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]