Simple Question (Direct)
Simple Question
Q453625
P1412
Q34770
USER
Which language is spoken by Amancio Alcorta ?
(Q453625,P1412,c(Q34770))
action filter_type
action find
entity Q453625
relation P1412
type Q34770
['Q453625', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q453625 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Amancio Alcorta
action filter_type
action find
entity Amancio Alcorta
relation languages spoken, written or signed
type language
['Amancio Alcorta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Amancio_Alcorta property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q453625,P1412,c(Q34770))
action filter_type
action find
entity Q453625
relation P1412
type Q34770
In [ANSWER] is spoken by Amancio Alcorta
['Q453625', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { resource:Q453625 property:P1412 ?t . ?t rdf:type ontology:Q34770 }
Spanish
In Spanish is spoken by Amancio Alcorta
Spanish
action filter_type
action find
entity Amancio Alcorta
relation languages spoken, written or signed
type language
['Amancio Alcorta', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { resource:Amancio_Alcorta property:languages_spoken,_written_or_signed ?t . ?t rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q453625
P27
Q15617994
USER
Which administrative territory is Amancio Alcorta a civilian of ?
(Q453625,P27,c(Q15617994))
action filter_type
action find
entity Q453625
relation P27
type Q15617994
['Q453625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q453625 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Amancio Alcorta
action filter_type
action find
entity Amancio Alcorta
relation country of citizenship
type designation for an administrative territorial entity
['Amancio Alcorta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Amancio_Alcorta property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q453625,P27,c(Q15617994))
action filter_type
action find
entity Q453625
relation P27
type Q15617994
[ANSWER] is Amancio Alcorta a civilian of
['Q453625', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q453625 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Argentina
Argentina is Amancio Alcorta a civilian of
Argentina
action filter_type
action find
entity Amancio Alcorta
relation country of citizenship
type designation for an administrative territorial entity
['Amancio Alcorta', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Amancio_Alcorta property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q414 Q1631607
P495
Q838948
USER
Did SpaceCamp originate in that administrative territory ?
(Q1631607,P495,Q414)
action is_in
entity Q1631607
action find
entity Q414
relation P495
['Q1631607', 'P495', 'Q414']
ASK WHERE { resource:Q414 property:P495 resource:Q1631607 }
Argentina SpaceCamp
action is_in
entity SpaceCamp
action find
entity Argentina
relation country of origin
['SpaceCamp', 'country of origin', 'Argentina']
ASK WHERE { resource:Argentina property:country_of_origin resource:SpaceCamp }
[]
work of art
SYSTEM
NO
(Q1631607,P495,Q414)
action is_in
entity Q1631607
action find
entity Q414
relation P495
[ANSWER]
['Q1631607', 'P495', 'Q414']
ASK WHERE { resource:Q414 property:P495 resource:Q1631607 }
No
action is_in
entity SpaceCamp
action find
entity Argentina
relation country of origin
['SpaceCamp', 'country of origin', 'Argentina']
ASK WHERE { resource:Argentina property:country_of_origin resource:SpaceCamp }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q414
P1532
Q502895
USER
Which people represent Argentina ?
(c(Q502895),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q502895
[{'concept': 'Q502895'}, 'P1532', 'Q414']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q414 . ?o rdf:type ontology:Q502895 }
Argentina
action filter_type
action find_reverse
entity Argentina
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Argentina . ?o rdf:type ontology:common_name }
[]
common name
Q615 Q545382 Q1199190
SYSTEM
Lionel Messi, Marcos Mondaini, Denis Stracqualursi
Q19047002 Q24260637 Q545382 Q5400776 Q6165587 Q1199190 Q615 Q133646 Q161571 Q25713915 Q1042752 Q24255941
(c(Q502895),P1532,Q414)
action filter_type
action find_reverse
entity Q414
relation P1532
type Q502895
[ANSWERS] represent Argentina
[{'concept': 'Q502895'}, 'P1532', 'Q414']
SELECT DISTINCT ?o WHERE { ?o property:P1532 resource:Q414 . ?o rdf:type ontology:Q502895 }
Cristian Guanca Belén Casetta Marcos Mondaini Esteban Dreer Javier Klimowicz Denis Stracqualursi Lionel Messi Emanuel Herrera Javier Mascherano Viviana Chávez Carlos Bielicki Valeria Chiaraviglio
Lionel Messi, Marcos Mondaini and Denis Stracqualursi represent Argentina
Lionel Messi Marcos Mondaini Denis Stracqualursi
action filter_type
action find_reverse
entity Argentina
relation country for sport
type common name
[{'concept': 'common name'}, 'country for sport', 'Argentina']
SELECT DISTINCT ?o WHERE { ?o property:country_for_sport resource:Argentina . ?o rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1199190
P1344
Q623109
USER
Which sports league did that person compete in ?
(Q1199190,P1344,c(Q623109))
action filter_type
action find
entity Q1199190
relation P1344
type Q623109
['Q1199190', 'P1344', {'concept': 'Q623109'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q623109 . resource:Q1199190 property:P1344 ?p }
Denis Stracqualursi
action filter_type
action find
entity Denis Stracqualursi
relation participant of
type sports league
['Denis Stracqualursi', 'participant of', {'concept': 'sports league'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_league . resource:Denis_Stracqualursi property:participant_of ?p }
[]
sports league
Clarification for simple ques.
Q1199190
SYSTEM
Did you mean Denis Stracqualursi ?
Q615 Q545382 Q1199190
(Q615,P1344,c(Q623109)) (Q545382,P1344,c(Q623109)) (Q1199190,P1344,c(Q623109))
[ANSWER]
['Q615', 'P1344', {'concept': 'Q623109'}] ['Q545382', 'P1344', {'concept': 'Q623109'}] ['Q1199190', 'P1344', {'concept': 'Q623109'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q623109 . resource:Q1199190 property:P1344 ?p }
Lionel Messi Marcos Mondaini Denis Stracqualursi
Did you mean Denis Stracqualursi ?
Denis Stracqualursi
['Lionel Messi', 'participant of', {'concept': 'sports league'}] ['Marcos Mondaini', 'participant of', {'concept': 'sports league'}] ['Denis Stracqualursi', 'participant of', {'concept': 'sports league'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_league . resource:Denis_Stracqualursi property:participant_of ?p }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1199190,P1344,c(Q623109))
['Q1199190', 'P1344', {'concept': 'Q623109'}]
['Denis Stracqualursi', 'participant of', {'concept': 'sports league'}]
[]
Q9448
SYSTEM
Premier League
Q9448
(Q1199190,P1344,c(Q623109))
action filter_type
action find
entity Q1199190
relation P1344
type Q623109
That person competed in [ANSWER]
['Q1199190', 'P1344', {'concept': 'Q623109'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q623109 . resource:Q1199190 property:P1344 ?p }
Premier League
That person competed in Premier League
Premier League
action filter_type
action find
entity Denis Stracqualursi
relation participant of
type sports league
['Denis Stracqualursi', 'participant of', {'concept': 'sports league'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_league . resource:Denis_Stracqualursi property:participant_of ?p }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q9448 Q39800 Q145
P17
Q15617994
USER
Is that sports league located in Oberland am Rennsteig and United Kingdom ?
(Q9448,P17,Q39800) (Q9448,P17,Q145)
action is_in
entity Q9448
action intersection
action find_reverse
entity Q39800
relation P17
action find_reverse
entity Q145
relation P17
['Q9448', 'P17', 'Q39800'] ['Q9448', 'P17', 'Q145']
ASK WHERE { resource:Q9448 property:P17 resource:Q39800 . resource:Q9448 property:P17 resource:Q145 }
Premier League Oberland am Rennsteig United Kingdom
action is_in
entity Premier League
action intersection
action find_reverse
entity Oberland am Rennsteig
relation country
action find_reverse
entity United Kingdom
relation country
['Premier League', 'country', 'Oberland am Rennsteig'] ['Premier League', 'country', 'United Kingdom']
ASK WHERE { resource:Premier_League property:country resource:Oberland_am_Rennsteig . resource:Premier_League property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q9448,P17,Q39800) (Q9448,P17,Q145)
action is_in
entity Q9448
action intersection
action find_reverse
entity Q39800
relation P17
action find_reverse
entity Q145
relation P17
[ANSWER]
['Q9448', 'P17', 'Q39800'] ['Q9448', 'P17', 'Q145']
ASK WHERE { resource:Q9448 property:P17 resource:Q39800 . resource:Q9448 property:P17 resource:Q145 }
NO and YES respectively
action is_in
entity Premier League
action intersection
action find_reverse
entity Oberland am Rennsteig
relation country
action find_reverse
entity United Kingdom
relation country
['Premier League', 'country', 'Oberland am Rennsteig'] ['Premier League', 'country', 'United Kingdom']
ASK WHERE { resource:Premier_League property:country resource:Oberland_am_Rennsteig . resource:Premier_League property:country resource:United_Kingdom }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P118
Q623109 Q476028 Q618123
USER
Which sports leagues do max number of association football clubs and geographical objects contest in ?
(c(Q476028)|c(Q618123),P118,c(Q623109))
action argmax
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q618123
[[{'concept': 'Q476028'}, {'concept': 'Q618123'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:P118 ?s . ?f rdf:type ontology:Q476028 . ?s rdf:type ontology:Q623109 } UNION { ?f property:P118 ?s . ?s rdf:type ontology:Q623109 . ?f rdf:type ontology:Q618123 } } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P118 ?h . ?n rdf:type ontology:Q618123 . ?h rdf:type ontology:Q623109 } UNION { ?n property:P118 ?h . ?h rdf:type ontology:Q623109 . ?n rdf:type ontology:Q476028 } } GROUP BY ?h } . FILTER ( ?w = ?u ) }
action argmax
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type geographical object
[[{'concept': 'association football club'}, {'concept': 'geographical object'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:league ?s . ?f rdf:type ontology:association_football_club . ?s rdf:type ontology:sports_league } UNION { ?f property:league ?s . ?s rdf:type ontology:sports_league . ?f rdf:type ontology:geographical_object } } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:league ?h . ?n rdf:type ontology:geographical_object . ?h rdf:type ontology:sports_league } UNION { ?n property:league ?h . ?h rdf:type ontology:sports_league . ?n rdf:type ontology:association_football_club } } GROUP BY ?h } . FILTER ( ?w = ?u ) }
[]
sports league association football club geographical object
Q1788088
SYSTEM
Derde Divisie
Q1788088
(c(Q476028)|c(Q618123),P118,c(Q623109))
action argmax
action union
action find_reverse_tuple_counts
relation P118
type Q623109
type Q476028
action find_reverse_tuple_counts
relation P118
type Q623109
type Q618123
[ANSWER] max number of association football clubs and geographical objects contest in
[[{'concept': 'Q476028'}, {'concept': 'Q618123'}], 'P118', {'concept': 'Q623109'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:P118 ?s . ?f rdf:type ontology:Q476028 . ?s rdf:type ontology:Q623109 } UNION { ?f property:P118 ?s . ?s rdf:type ontology:Q623109 . ?f rdf:type ontology:Q618123 } } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:P118 ?h . ?n rdf:type ontology:Q618123 . ?h rdf:type ontology:Q623109 } UNION { ?n property:P118 ?h . ?h rdf:type ontology:Q623109 . ?n rdf:type ontology:Q476028 } } GROUP BY ?h } . FILTER ( ?w = ?u ) }
Derde Divisie
Derde Divisie max number of association football clubs and geographical objects contest in
Derde Divisie
action argmax
action union
action find_reverse_tuple_counts
relation league
type sports league
type association football club
action find_reverse_tuple_counts
relation league
type sports league
type geographical object
[[{'concept': 'association football club'}, {'concept': 'geographical object'}], 'league', {'concept': 'sports league'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?u ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:league ?s . ?f rdf:type ontology:association_football_club . ?s rdf:type ontology:sports_league } UNION { ?f property:league ?s . ?s rdf:type ontology:sports_league . ?f rdf:type ontology:geographical_object } } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?n ) AS ?w ) WHERE { { ?n property:league ?h . ?n rdf:type ontology:geographical_object . ?h rdf:type ontology:sports_league } UNION { ?n property:league ?h . ?h rdf:type ontology:sports_league . ?n rdf:type ontology:association_football_club } } GROUP BY ?h } . FILTER ( ?w = ?u ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1788088
P641
Q349
USER
Which sport was that sports league a part of ?
(Q1788088,P641,c(Q349))
action filter_type
action find
entity Q1788088
relation P641
type Q349
['Q1788088', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1788088 property:P641 ?v . ?v rdf:type ontology:Q349 }
Derde Divisie
action filter_type
action find
entity Derde Divisie
relation sport
type sport
['Derde Divisie', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Derde_Divisie property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1788088,P641,c(Q349))
action filter_type
action find
entity Q1788088
relation P641
type Q349
As [ANSWER] was that sports league a part of
['Q1788088', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1788088 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
As association football was that sports league a part of
association football
action filter_type
action find
entity Derde Divisie
relation sport
type sport
['Derde Divisie', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Derde_Divisie property:sport ?v . ?v rdf:type ontology:sport }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q2018246 Q1788088
P641
Q349
USER
Or Eddy Antoine?
OR((Q1788088,P641,c(Q349)), (Q2018246,P641,c(Q349)))
action filter_type
action union
action find
entity Q1788088
relation P641
action find
entity Q2018246
relation P641
type Q349
{'OR': [['Q1788088', 'P641', {'concept': 'Q349'}], ['Q2018246', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . { ?f property:P641 ?s . VALUES ( ?f ) { ( resource:Q1788088 ) ( resource:Q2018246 ) } } }
Eddy Antoine Derde Divisie
action filter_type
action union
action find
entity Derde Divisie
relation sport
action find
entity Eddy Antoine
relation sport
type sport
{'OR': [['Derde Divisie', 'sport', {'concept': 'sport'}], ['Eddy Antoine', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . { ?f property:sport ?s . VALUES ( ?f ) { ( resource:Derde_Divisie ) ( resource:Eddy_Antoine ) } } }
[]
sport
Q2736
SYSTEM
association football
Q2736
OR((Q1788088,P641,c(Q349)), (Q2018246,P641,c(Q349)))
action filter_type
action union
action find
entity Q1788088
relation P641
action find
entity Q2018246
relation P641
type Q349
[ANSWER]
{'OR': [['Q1788088', 'P641', {'concept': 'Q349'}], ['Q2018246', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q349 . { ?f property:P641 ?s . VALUES ( ?f ) { ( resource:Q1788088 ) ( resource:Q2018246 ) } } }
association football
association football
action filter_type
action union
action find
entity Derde Divisie
relation sport
action find
entity Eddy Antoine
relation sport
type sport
{'OR': [['Derde Divisie', 'sport', {'concept': 'sport'}], ['Eddy Antoine', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:sport . { ?f property:sport ?s . VALUES ( ?f ) { ( resource:Derde_Divisie ) ( resource:Eddy_Antoine ) } } }
[]