Simple Question (Direct)
Simple Question
Q1461129
P19
Q515
USER
Which city was Friedrich Mettegang born at ?
(Q1461129,P19,c(Q515))
action filter_type
action find
entity Q1461129
relation P19
type Q515
['Q1461129', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q1461129 property:P19 ?w }
Friedrich Mettegang
action filter_type
action find
entity Friedrich Mettegang
relation place of birth
type city
['Friedrich Mettegang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Friedrich_Mettegang property:place_of_birth ?w }
[]
city
Q1794
SYSTEM
Frankfurt
Q1794
(Q1461129,P19,c(Q515))
action filter_type
action find
entity Q1461129
relation P19
type Q515
Friedrich Mettegang was born in [ANSWER]
['Q1461129', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q515 . resource:Q1461129 property:P19 ?w }
Frankfurt
Friedrich Mettegang was born in Frankfurt
Frankfurt
action filter_type
action find
entity Friedrich Mettegang
relation place of birth
type city
['Friedrich Mettegang', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:city . resource:Friedrich_Mettegang property:place_of_birth ?w }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1794
P1427
Q18608583
USER
Which recurring sporting event has that city as the start location ?
(c(Q18608583),P1427,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P1427
type Q18608583
[{'concept': 'Q18608583'}, 'P1427', 'Q1794']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q18608583 . ?c property:P1427 resource:Q1794 }
Frankfurt
action filter_type
action find_reverse
entity Frankfurt
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Frankfurt']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:recurring_sporting_event . ?c property:start_point resource:Frankfurt }
[]
recurring sporting event
Q279235
SYSTEM
1980 Tour de France
Q279235
(c(Q18608583),P1427,Q1794)
action filter_type
action find_reverse
entity Q1794
relation P1427
type Q18608583
[ANSWER] has that city as the start location
[{'concept': 'Q18608583'}, 'P1427', 'Q1794']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q18608583 . ?c property:P1427 resource:Q1794 }
1980 Tour de France
1980 Tour de France has that city as the start location
1980 Tour de France
action filter_type
action find_reverse
entity Frankfurt
relation start point
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'start point', 'Frankfurt']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:recurring_sporting_event . ?c property:start_point resource:Frankfurt }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1794
P190
Q1048835
USER
Which political territory is the sister city of that one ?
(Q279235,P190,c(Q1048835))
action filter_type
action find
entity Q1794
relation P190
type Q1048835
['Q279235', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q1794 property:P190 ?l }
Frankfurt
action filter_type
action find
entity Frankfurt
relation sister city
type political territorial entity
['1980 Tour de France', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Frankfurt property:sister_city ?l }
[]
political territorial entity
Q16572
SYSTEM
Guangzhou
Q16572
(Q279235,P190,c(Q1048835))
action filter_type
action find
entity Q1794
relation P190
type Q1048835
[ANSWER] is the sister city of that one
['Q279235', 'P190', {'concept': 'Q1048835'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q1048835 . resource:Q1794 property:P190 ?l }
Guangzhou
Guangzhou is the sister city of that one
Guangzhou
action filter_type
action find
entity Frankfurt
relation sister city
type political territorial entity
['1980 Tour de France', 'sister city', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:political_territorial_entity . resource:Frankfurt property:sister_city ?l }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q502895 Q340169 Q234460
USER
How many people were the sources of inspiration for around 1 medias and texts ?
(c(Q340169)|c(Q234460),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
value 1
[[{'concept': 'Q340169'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P941 ?h . ?h rdf:type ontology:Q502895 . ?l rdf:type ontology:Q340169 } UNION { ?l property:P941 ?h . ?h rdf:type ontology:Q502895 . ?l rdf:type ontology:Q234460 } } GROUP BY ?h } . FILTER ( ?o = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type text
value 1
[[{'concept': 'media'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:inspired_by ?h . ?h rdf:type ontology:common_name . ?l rdf:type ontology:media } UNION { ?l property:inspired_by ?h . ?h rdf:type ontology:common_name . ?l rdf:type ontology:text } } GROUP BY ?h } . FILTER ( ?o = 1 ) }
[]
common name media text
SYSTEM
2
Q1508997 Q183458
(c(Q340169)|c(Q234460),P941,c(Q502895))
action count
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q502895
type Q340169
action find_reverse_tuple_counts
relation P941
type Q502895
type Q234460
value 1
[ANSWER]
[[{'concept': 'Q340169'}, {'concept': 'Q234460'}], 'P941', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:P941 ?h . ?h rdf:type ontology:Q502895 . ?l rdf:type ontology:Q340169 } UNION { ?l property:P941 ?h . ?h rdf:type ontology:Q502895 . ?l rdf:type ontology:Q234460 } } GROUP BY ?h } . FILTER ( ?o = 1 ) }
Georges Manolescu Andrea del Verrocchio
2
action count
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type common name
type media
action find_reverse_tuple_counts
relation inspired by
type common name
type text
value 1
[[{'concept': 'media'}, {'concept': 'text'}], 'inspired by', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?c ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?l ) AS ?o ) WHERE { { ?l property:inspired_by ?h . ?h rdf:type ontology:common_name . ?l rdf:type ontology:media } UNION { ?l property:inspired_by ?h . ?h rdf:type ontology:common_name . ?l rdf:type ontology:text } } GROUP BY ?h } . FILTER ( ?o = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q16572
P190
Q56061
USER
How many administrative territories are twin towns of Guangzhou ?
(Q16572,P190,c(Q56061))
action count
action filter_type
action find
entity Q16572
relation P190
type Q56061
['Q16572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q16572 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Guangzhou
action count
action filter_type
action find
entity Guangzhou
relation sister city
type administrative territorial entity
['Guangzhou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Guangzhou property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
13
Q1861 Q3130 Q199609 Q184345 Q37100 Q406 Q24639 Q216 Q5468 Q3519 Q159273 Q65 Q1085
(Q16572,P190,c(Q56061))
action count
action filter_type
action find
entity Q16572
relation P190
type Q56061
[ANSWER]
['Q16572', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Q16572 property:P190 ?w . ?w rdf:type ontology:Q56061 }
Bangkok Sydney Ōita Viña del Mar Auckland Istanbul Vancouver Vilnius Durban Bari Arequipa Los Angeles Prague
13
action count
action filter_type
action find
entity Guangzhou
relation sister city
type administrative territorial entity
['Guangzhou', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?a ) WHERE { resource:Guangzhou property:sister_city ?w . ?w rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q274412
Q56061
USER
And how about Bédarieux?
(Q274412,P190,c(Q56061))
action count
action filter_type
action find
entity Q274412
relation P190
type Q56061
['Q274412', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q274412 property:P190 ?o . ?o rdf:type ontology:Q56061 }
Bédarieux
action count
action filter_type
action find
entity Bédarieux
relation sister city
type administrative territorial entity
['Bédarieux', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Bédarieux property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
(Q274412,P190,c(Q56061))
action count
action filter_type
action find
entity Q274412
relation P190
type Q56061
[ANSWER]
['Q274412', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Q274412 property:P190 ?o . ?o rdf:type ontology:Q56061 }
1
action count
action filter_type
action find
entity Bédarieux
relation sister city
type administrative territorial entity
['Bédarieux', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?y ) WHERE { resource:Bédarieux property:sister_city ?o . ?o rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q274412
P36
Q20667921
USER
Which french administrative division has that one as its administrative centre ?
action filter_type
action find_reverse
entity Q274412
relation P36
type Q20667921
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q274412 . ?i rdf:type ontology:Q20667921 }
Bédarieux
action filter_type
action find_reverse
entity Bédarieux
relation capital
type type of french administrative division
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Bédarieux . ?i rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q1340821
SYSTEM
canton of Bédarieux
Q1340821
action filter_type
action find_reverse
entity Q274412
relation P36
type Q20667921
The [ANSWER] has that one as its administrative centre
SELECT DISTINCT ?i WHERE { ?i property:P36 resource:Q274412 . ?i rdf:type ontology:Q20667921 }
canton of Bédarieux
The canton of Bédarieux has that one as its administrative centre
canton of Bédarieux
action filter_type
action find_reverse
entity Bédarieux
relation capital
type type of french administrative division
SELECT DISTINCT ?i WHERE { ?i property:capital resource:Bédarieux . ?i rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q279235
P1923
Q1785271
USER
Which cycling teams participated in 1980 Tour de France ?
(Q279235,P1923,c(Q1785271))
action filter_type
action find
entity Q279235
relation P1923
type Q1785271
['Q279235', 'P1923', {'concept': 'Q1785271'}]
SELECT DISTINCT ?x WHERE { resource:Q279235 property:P1923 ?x . ?x rdf:type ontology:Q1785271 }
1980 Tour de France
action filter_type
action find
entity 1980 Tour de France
relation participating teams
type cycling team
['1980 Tour de France', 'participating teams', {'concept': 'cycling team'}]
SELECT DISTINCT ?x WHERE { resource:1980_Tour_de_France property:participating_teams ?x . ?x rdf:type ontology:cycling_team }
[]
cycling team
Q20826559 Q26856816 Q26856811
SYSTEM
Renault-Gitane 1980, DAF Trucks-Lejeune 1980, Peugeot-Esso-Michelin 1980
Q20826559 Q26856816 Q26856811 Q2675417 Q26856853 Q26856818 Q26856856 Q26856860 Q26819683 Q26839612 Q26838673 Q24287482 Q26832615
(Q279235,P1923,c(Q1785271))
action filter_type
action find
entity Q279235
relation P1923
type Q1785271
[ANSWERS] participated in 1980 Tour de France
['Q279235', 'P1923', {'concept': 'Q1785271'}]
SELECT DISTINCT ?x WHERE { resource:Q279235 property:P1923 ?x . ?x rdf:type ontology:Q1785271 }
Renault-Gitane 1980 DAF Trucks-Lejeune 1980 Peugeot-Esso-Michelin 1980 TI-Raleigh-Creda 1980 Boston-IFI-Mavic 1980 Splendor-Admiral 1980 Teka 1980 Kelme-Gios 1980 IJsboerke-Warncke Eis 1980 Puch-Sem-Campagnolo 1980 Miko-Mercier-Vivagel 1980 La Redoute-Motobécane 1980 Marc-Carlos-V.R.D.-Woningbouw 1980
Renault-Gitane 1980, DAF Trucks-Lejeune 1980 and Peugeot-Esso-Michelin 1980 participated in 1980 Tour de France
Renault-Gitane 1980 DAF Trucks-Lejeune 1980 Peugeot-Esso-Michelin 1980
action filter_type
action find
entity 1980 Tour de France
relation participating teams
type cycling team
['1980 Tour de France', 'participating teams', {'concept': 'cycling team'}]
SELECT DISTINCT ?x WHERE { resource:1980_Tour_de_France property:participating_teams ?x . ?x rdf:type ontology:cycling_team }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26856816
P361
Q1785271
USER
What is that one a part of ?
(Q26856816,P361,c(Q1785271))
action filter_type
action find
entity Q26856816
relation P361
type Q1785271
['Q26856816', 'P361', {'concept': 'Q1785271'}]
SELECT DISTINCT ?r WHERE { resource:Q26856816 property:P361 ?r . ?r rdf:type ontology:Q1785271 }
DAF Trucks-Lejeune 1980
action filter_type
action find
entity DAF Trucks-Lejeune 1980
relation part of
type cycling team
['DAF Trucks-Lejeune 1980', 'part of', {'concept': 'cycling team'}]
SELECT DISTINCT ?r WHERE { resource:DAF_Trucks-Lejeune_1980 property:part_of ?r . ?r rdf:type ontology:cycling_team }
[]
cycling team
Clarification for simple ques.
Q26856811
SYSTEM
Did you mean Peugeot-Esso-Michelin 1980 ?
Q20826559 Q26856816 Q26856811
(Q20826559,P361,c(Q1785271)) (Q26856816,P361,c(Q1785271)) (Q26856811,P361,c(Q1785271))
[ANSWER]
['Q20826559', 'P361', {'concept': 'Q1785271'}] ['Q26856816', 'P361', {'concept': 'Q1785271'}] ['Q26856811', 'P361', {'concept': 'Q1785271'}]
SELECT DISTINCT ?r WHERE { resource:Q26856816 property:P361 ?r . ?r rdf:type ontology:Q1785271 }
Renault-Gitane 1980 DAF Trucks-Lejeune 1980 Peugeot-Esso-Michelin 1980
Did you mean Peugeot-Esso-Michelin 1980 ?
Peugeot-Esso-Michelin 1980
['Renault-Gitane 1980', 'part of', {'concept': 'cycling team'}] ['DAF Trucks-Lejeune 1980', 'part of', {'concept': 'cycling team'}] ['Peugeot-Esso-Michelin 1980', 'part of', {'concept': 'cycling team'}]
SELECT DISTINCT ?r WHERE { resource:DAF_Trucks-Lejeune_1980 property:part_of ?r . ?r rdf:type ontology:cycling_team }
[]
Simple Question (Coreferenced)
USER
No, I meant DAF Trucks-Lejeune 1980. Could you tell me the answer for that?
(Q26856816,P361,c(Q1785271))
Q26856816
['Q26856816', 'P361', {'concept': 'Q1785271'}]
['DAF Trucks-Lejeune 1980', 'part of', {'concept': 'cycling team'}]
[]
Q3589531
SYSTEM
DAF Trucks
Q3589531
(Q26856816,P361,c(Q1785271))
action filter_type
action find
entity Q26856816
relation P361
type Q1785271
That one a part of is the [ANSWER]
['Q26856816', 'P361', {'concept': 'Q1785271'}]
SELECT DISTINCT ?r WHERE { resource:Q26856816 property:P361 ?r . ?r rdf:type ontology:Q1785271 }
DAF Trucks
That one a part of is the DAF Trucks
DAF Trucks
action filter_type
action find
entity DAF Trucks-Lejeune 1980
relation part of
type cycling team
['DAF Trucks-Lejeune 1980', 'part of', {'concept': 'cycling team'}]
SELECT DISTINCT ?r WHERE { resource:DAF_Trucks-Lejeune_1980 property:part_of ?r . ?r rdf:type ontology:cycling_team }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q3589531 Q31
P17
Q15617994
USER
Is that cycling team located in Belgium ?
(Q3589531,P17,Q31)
action is_in
entity Q31
action find
entity Q3589531
relation P17
['Q3589531', 'P17', 'Q31']
ASK WHERE { resource:Q3589531 property:P17 resource:Q31 }
DAF Trucks Belgium
action is_in
entity Belgium
action find
entity DAF Trucks
relation country
['DAF Trucks', 'country', 'Belgium']
ASK WHERE { resource:DAF_Trucks property:country resource:Belgium }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3589531,P17,Q31)
action is_in
entity Q31
action find
entity Q3589531
relation P17
[ANSWER]
['Q3589531', 'P17', 'Q31']
ASK WHERE { resource:Q3589531 property:P17 resource:Q31 }
Yes
action is_in
entity Belgium
action find
entity DAF Trucks
relation country
['DAF Trucks', 'country', 'Belgium']
ASK WHERE { resource:DAF_Trucks property:country resource:Belgium }
[]