Simple Question (Direct)
Simple Question
Q1469935
P1412
Q34770
USER
Which language can Gonzalo Sebastián García understand ?
(Q1469935,P1412,c(Q34770))
action filter_type
action find
entity Q1469935
relation P1412
type Q34770
['Q1469935', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1469935 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Gonzalo Sebastián García
action filter_type
action find
entity Gonzalo Sebastián García
relation languages spoken, written or signed
type language
['Gonzalo Sebastián García', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Gonzalo_Sebastián_García property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q1469935,P1412,c(Q34770))
action filter_type
action find
entity Q1469935
relation P1412
type Q34770
Gonzalo Sebastián García can understand the [ANSWER]
['Q1469935', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q1469935 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Spanish
Gonzalo Sebastián García can understand the Spanish
Spanish
action filter_type
action find
entity Gonzalo Sebastián García
relation languages spoken, written or signed
type language
['Gonzalo Sebastián García', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Gonzalo_Sebastián_García property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1469935
P54
Q618123
USER
What sports team is Gonzalo Sebastián García a member of ?
(Q1469935,P54,c(Q618123))
action filter_type
action find
entity Q1469935
relation P54
type Q618123
['Q1469935', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q618123 . resource:Q1469935 property:P54 ?e }
Gonzalo Sebastián García
action filter_type
action find
entity Gonzalo Sebastián García
relation member of sports team
type geographical object
['Gonzalo Sebastián García', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographical_object . resource:Gonzalo_Sebastián_García property:member_of_sports_team ?e }
[]
geographical object
Q276533
SYSTEM
Racing Club Asociación Civil
Q276533
(Q1469935,P54,c(Q618123))
action filter_type
action find
entity Q1469935
relation P54
type Q618123
[ANSWER] is Gonzalo Sebastián García a member of
['Q1469935', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q618123 . resource:Q1469935 property:P54 ?e }
Racing Club Asociación Civil
Racing Club Asociación Civil is Gonzalo Sebastián García a member of
Racing Club Asociación Civil
action filter_type
action find
entity Gonzalo Sebastián García
relation member of sports team
type geographical object
['Gonzalo Sebastián García', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:geographical_object . resource:Gonzalo_Sebastián_García property:member_of_sports_team ?e }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1735265
Q618123
USER
And how about Thomas Kurz?
(Q1735265,P54,c(Q618123))
action filter_type
action find
entity Q1735265
relation P54
type Q618123
['Q1735265', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?v WHERE { resource:Q1735265 property:P54 ?v . ?v rdf:type ontology:Q618123 }
Thomas Kurz
action filter_type
action find
entity Thomas Kurz
relation member of sports team
type geographical object
['Thomas Kurz', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?v WHERE { resource:Thomas_Kurz property:member_of_sports_team ?v . ?v rdf:type ontology:geographical_object }
[]
geographical object
Q161034
SYSTEM
SV Wacker Burghausen
Q161034
(Q1735265,P54,c(Q618123))
action filter_type
action find
entity Q1735265
relation P54
type Q618123
[ANSWER]
['Q1735265', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?v WHERE { resource:Q1735265 property:P54 ?v . ?v rdf:type ontology:Q618123 }
SV Wacker Burghausen
SV Wacker Burghausen
action filter_type
action find
entity Thomas Kurz
relation member of sports team
type geographical object
['Thomas Kurz', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?v WHERE { resource:Thomas_Kurz property:member_of_sports_team ?v . ?v rdf:type ontology:geographical_object }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P466
Q618123 Q811430
USER
How many geographical objects were the inhabitants of more number of constructions than that geographical object ?
(c(Q811430),P466,c(Q618123))
action count
action greater
action find_reverse_tuple_counts
relation P466
type Q618123
type Q811430
action count
action filter_type
action find
entity Q161034
relation P466
type Q618123
[{'concept': 'Q811430'}, 'P466', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P466 ?l . ?l rdf:type ontology:Q618123 . ?k rdf:type ontology:Q811430 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q161034 property:P466 ?a . ?a rdf:type ontology:Q618123 } } . FILTER ( ?c > ?z ) }
action count
action greater
action find_reverse_tuple_counts
relation occupant
type geographical object
type construction
action count
action filter_type
action find
entity SV Wacker Burghausen
relation occupant
type geographical object
[{'concept': 'construction'}, 'occupant', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:occupant ?l . ?l rdf:type ontology:geographical_object . ?k rdf:type ontology:construction } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:SV_Wacker_Burghausen property:occupant ?a . ?a rdf:type ontology:geographical_object } } . FILTER ( ?c > ?z ) }
[]
geographical object construction
SYSTEM
9
Q690612 Q246962 Q2350626 Q1702598 Q300048 Q641641 Q4915729 Q80964 Q258236
(c(Q811430),P466,c(Q618123))
action count
action greater
action find_reverse_tuple_counts
relation P466
type Q618123
type Q811430
action count
action filter_type
action find
entity Q161034
relation P466
type Q618123
[ANSWER]
[{'concept': 'Q811430'}, 'P466', {'concept': 'Q618123'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:P466 ?l . ?l rdf:type ontology:Q618123 . ?k rdf:type ontology:Q811430 } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:Q161034 property:P466 ?a . ?a rdf:type ontology:Q618123 } } . FILTER ( ?c > ?z ) }
HC TWK Innsbruck Colorado Mammoth HIFK Jokipojat ATSE Graz Rochester Knighthawks Birchfield Harriers S.E. Palmeiras EC Bad Tölz
9
action count
action greater
action find_reverse_tuple_counts
relation occupant
type geographical object
type construction
action count
action filter_type
action find
entity SV Wacker Burghausen
relation occupant
type geographical object
[{'concept': 'construction'}, 'occupant', {'concept': 'geographical object'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?w ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?k ) AS ?c ) WHERE { ?k property:occupant ?l . ?l rdf:type ontology:geographical_object . ?k rdf:type ontology:construction } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?z ) WHERE { resource:SV_Wacker_Burghausen property:occupant ?a . ?a rdf:type ontology:geographical_object } } . FILTER ( ?c > ?z ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q276533
P17
Q15617994
USER
Which administrative territory is Racing Club Asociación Civil located in ?
(Q276533,P17,c(Q15617994))
action filter_type
action find
entity Q276533
relation P17
type Q15617994
['Q276533', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q276533 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Racing Club Asociación Civil
action filter_type
action find
entity Racing Club Asociación Civil
relation country
type designation for an administrative territorial entity
['Racing Club Asociación Civil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Racing_Club_Asociación_Civil property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q276533,P17,c(Q15617994))
action filter_type
action find
entity Q276533
relation P17
type Q15617994
Which administrative territory is Racing Club Asociación Civil located in
['Q276533', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q276533 property:P17 ?c . ?c rdf:type ontology:Q15617994 }
Argentina
Which administrative territory is Racing Club Asociación Civil located in
Argentina
action filter_type
action find
entity Racing Club Asociación Civil
relation country
type designation for an administrative territorial entity
['Racing Club Asociación Civil', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Racing_Club_Asociación_Civil property:country ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3763397 Q1469935
P27
Q15617994
USER
Which administrative territories are Gonzalo Sebastián García or Gianna Piaz an inhabitant of ?
OR((Q1469935,P27,c(Q15617994)), (Q3763397,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1469935
relation P27
action find
entity Q3763397
relation P27
type Q15617994
{'OR': [['Q1469935', 'P27', {'concept': 'Q15617994'}], ['Q3763397', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?w property:P27 ?b . VALUES ( ?w ) { ( resource:Q1469935 ) ( resource:Q3763397 ) } } . ?b rdf:type ontology:Q15617994 }
Gianna Piaz Gonzalo Sebastián García
action filter_type
action union
action find
entity Gonzalo Sebastián García
relation country of citizenship
action find
entity Gianna Piaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gonzalo Sebastián García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gianna Piaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?w property:country_of_citizenship ?b . VALUES ( ?w ) { ( resource:Gonzalo_Sebastián_García ) ( resource:Gianna_Piaz ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38 Q414
SYSTEM
Italy, Argentina
Q38 Q414
OR((Q1469935,P27,c(Q15617994)), (Q3763397,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1469935
relation P27
action find
entity Q3763397
relation P27
type Q15617994
[ANSWERS] are Gonzalo Sebastián García or Gianna Piaz an inhabitant of
{'OR': [['Q1469935', 'P27', {'concept': 'Q15617994'}], ['Q3763397', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?b WHERE { { ?w property:P27 ?b . VALUES ( ?w ) { ( resource:Q1469935 ) ( resource:Q3763397 ) } } . ?b rdf:type ontology:Q15617994 }
Italy Argentina
Italy and Argentina are Gonzalo Sebastián García or Gianna Piaz an inhabitant of
Italy Argentina
action filter_type
action union
action find
entity Gonzalo Sebastián García
relation country of citizenship
action find
entity Gianna Piaz
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Gonzalo Sebastián García', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Gianna Piaz', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?b WHERE { { ?w property:country_of_citizenship ?b . VALUES ( ?w ) { ( resource:Gonzalo_Sebastián_García ) ( resource:Gianna_Piaz ) } } . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q38
P1001
Q4164871
USER
Which positions apply to jurisdiction over that administrative territory ?
(c(Q4164871),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', 'Q38']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q38 . ?s rdf:type ontology:Q4164871 }
Italy
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Italy . ?s rdf:type ontology:position }
[]
position
Clarification for simple ques.
Q38
SYSTEM
Did you mean Italy ?
Q38 Q414
(c(Q4164871),P1001,Q38) (c(Q4164871),P1001,Q414)
[ANSWER]
[{'concept': 'Q4164871'}, 'P1001', 'Q38'] [{'concept': 'Q4164871'}, 'P1001', 'Q414']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q38 . ?s rdf:type ontology:Q4164871 }
Italy Argentina
Did you mean Italy ?
Italy
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy'] [{'concept': 'position'}, 'applies to jurisdiction', 'Argentina']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Italy . ?s rdf:type ontology:position }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q4164871),P1001,Q38)
[{'concept': 'Q4164871'}, 'P1001', 'Q38']
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy']
[]
Q3911030 Q3911031 Q3965289
SYSTEM
president of Italian region, province president, Undersecretary to the Presidency of the Council
Q3965289 Q3911030 Q3911031 Q25973167 Q25514257
(c(Q4164871),P1001,Q38)
action filter_type
action find_reverse
entity Q38
relation P1001
type Q4164871
[ANSWERS] apply to jurisdiction over that administrative territory
[{'concept': 'Q4164871'}, 'P1001', 'Q38']
SELECT DISTINCT ?s WHERE { ?s property:P1001 resource:Q38 . ?s rdf:type ontology:Q4164871 }
Undersecretary to the Presidency of the Council president of Italian region province president Minister of Justice Minister of Communications
President of Italian region, province president and Undersecretary to the Presidency of the Council apply to jurisdiction over that administrative territory
president of Italian region province president Undersecretary to the Presidency of the Council
action filter_type
action find_reverse
entity Italy
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', 'Italy']
SELECT DISTINCT ?s WHERE { ?s property:applies_to_jurisdiction resource:Italy . ?s rdf:type ontology:position }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3911031
P1001
Q15617994
USER
Which administrative territory comes under the supervision of that position ?
(Q3911031,P1001,c(Q15617994))
action filter_type
action find
entity Q3911031
relation P1001
type Q15617994
['Q3911031', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3911031 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
province president
action filter_type
action find
entity province president
relation applies to jurisdiction
type designation for an administrative territorial entity
['province president', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:province_president property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q3911030
SYSTEM
Did you mean president of Italian region ?
Q3911030 Q3911031 Q3965289
(Q3911030,P1001,c(Q15617994)) (Q3911031,P1001,c(Q15617994)) (Q3965289,P1001,c(Q15617994))
[ANSWER]
['Q3911030', 'P1001', {'concept': 'Q15617994'}] ['Q3911031', 'P1001', {'concept': 'Q15617994'}] ['Q3965289', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3911031 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
president of Italian region province president Undersecretary to the Presidency of the Council
Did you mean president of Italian region ?
president of Italian region
['president of Italian region', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['province president', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Undersecretary to the Presidency of the Council', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:province_president property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant province president. Could you tell me the answer for that?
(Q3911031,P1001,c(Q15617994))
Q3911031
['Q3911031', 'P1001', {'concept': 'Q15617994'}]
['province president', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38
SYSTEM
Italy
Q38
(Q3911031,P1001,c(Q15617994))
action filter_type
action find
entity Q3911031
relation P1001
type Q15617994
[ANSWER] comes under the supervision of that position
['Q3911031', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q3911031 property:P1001 ?j . ?j rdf:type ontology:Q15617994 }
Italy
Italy comes under the supervision of that position
Italy
action filter_type
action find
entity province president
relation applies to jurisdiction
type designation for an administrative territorial entity
['province president', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:province_president property:applies_to_jurisdiction ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]