Simple Question (Direct)
Simple Question
Q7114471
P1412
Q34770
USER
Which language does Owen Evans speak in ?
(Q7114471,P1412,c(Q34770))
action filter_type
action find
entity Q7114471
relation P1412
type Q34770
['Q7114471', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q7114471 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Owen Evans
action filter_type
action find
entity Owen Evans
relation languages spoken, written or signed
type language
['Owen Evans', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Owen_Evans property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q7114471,P1412,c(Q34770))
action filter_type
action find
entity Q7114471
relation P1412
type Q34770
Owen Evans speaks the [ANSWER]
['Q7114471', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q7114471 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
English
Owen Evans speaks the English
English
action filter_type
action find
entity Owen Evans
relation languages spoken, written or signed
type language
['Owen Evans', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Owen_Evans property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7114471
P102
Q7210356
USER
Which party is Owen Evans affiliated with ?
(Q7114471,P102,c(Q7210356))
action filter_type
action find
entity Q7114471
relation P102
type Q7210356
['Q7114471', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7114471 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Owen Evans
action filter_type
action find
entity Owen Evans
relation member of political party
type political organization
['Owen Evans', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Owen_Evans property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
political organization
Q622441
SYSTEM
Liberal Party
Q622441
(Q7114471,P102,c(Q7210356))
action filter_type
action find
entity Q7114471
relation P102
type Q7210356
Owen Evans is affiliated with [ANSWER]
['Q7114471', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?g WHERE { resource:Q7114471 property:P102 ?g . ?g rdf:type ontology:Q7210356 }
Liberal Party
Owen Evans is affiliated with Liberal Party
Liberal Party
action filter_type
action find
entity Owen Evans
relation member of political party
type political organization
['Owen Evans', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?g WHERE { resource:Owen_Evans property:member_of_political_party ?g . ?g rdf:type ontology:political_organization }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4647909
Q7210356
USER
And what about A. J. DeMedio?
(Q4647909,P102,c(Q7210356))
action filter_type
action find
entity Q4647909
relation P102
type Q7210356
['Q4647909', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q4647909 property:P102 ?e }
A. J. DeMedio
action filter_type
action find
entity A. J. DeMedio
relation member of political party
type political organization
['A. J. DeMedio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:A._J._DeMedio property:member_of_political_party ?e }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q4647909,P102,c(Q7210356))
action filter_type
action find
entity Q4647909
relation P102
type Q7210356
[ANSWER]
['Q4647909', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q7210356 . resource:Q4647909 property:P102 ?e }
Democratic Party
Democratic Party
action filter_type
action find
entity A. J. DeMedio
relation member of political party
type political organization
['A. J. DeMedio', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:political_organization . resource:A._J._DeMedio property:member_of_political_party ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4647909
P735
Q82799
USER
Which name is that person known by ?
(Q29552,P735,c(Q82799))
action filter_type
action find
entity Q4647909
relation P735
type Q82799
['Q29552', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q4647909 property:P735 ?d . ?d rdf:type ontology:Q82799 }
A. J. DeMedio
action filter_type
action find
entity A. J. DeMedio
relation given name
type name
['Democratic Party', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:A._J._DeMedio property:given_name ?d . ?d rdf:type ontology:name }
[]
name
Q19803442
SYSTEM
A.
Q19803442
(Q29552,P735,c(Q82799))
action filter_type
action find
entity Q4647909
relation P735
type Q82799
That person is known as [ANSWER]
['Q29552', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?d WHERE { resource:Q4647909 property:P735 ?d . ?d rdf:type ontology:Q82799 }
A.
That person is known as A.
A.
action filter_type
action find
entity A. J. DeMedio
relation given name
type name
['Democratic Party', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?d WHERE { resource:A._J._DeMedio property:given_name ?d . ?d rdf:type ontology:name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q311973 Q622441
P17
Q15617994
USER
Which administrative territories are Liberal Party or Pivka located in ?
OR((Q622441,P17,c(Q15617994)), (Q311973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q622441
relation P17
action find
entity Q311973
relation P17
type Q15617994
{'OR': [['Q622441', 'P17', {'concept': 'Q15617994'}], ['Q311973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Q622441 ) ( resource:Q311973 ) } . ?a property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
Pivka Liberal Party
action filter_type
action union
action find
entity Liberal Party
relation country
action find
entity Pivka
relation country
type designation for an administrative territorial entity
{'OR': [['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Liberal_Party ) ( resource:Pivka ) } . ?a property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145 Q215
SYSTEM
United Kingdom, Slovenia
Q145 Q215
OR((Q622441,P17,c(Q15617994)), (Q311973,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q622441
relation P17
action find
entity Q311973
relation P17
type Q15617994
Liberal Party or Pivka are located in [ANSWERS]
{'OR': [['Q622441', 'P17', {'concept': 'Q15617994'}], ['Q311973', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Q622441 ) ( resource:Q311973 ) } . ?a property:P17 ?m } . ?m rdf:type ontology:Q15617994 }
United Kingdom Slovenia
Liberal Party or Pivka are located in United Kingdom and Slovenia
United Kingdom Slovenia
action filter_type
action union
action find
entity Liberal Party
relation country
action find
entity Pivka
relation country
type designation for an administrative territorial entity
{'OR': [['Liberal Party', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Pivka', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?m WHERE { { VALUES ( ?a ) { ( resource:Liberal_Party ) ( resource:Pivka ) } . ?a property:country ?m } . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relationships with approximately 25 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 25
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?z ) WHERE { ?d property:P530 ?y . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?z = 25 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?z ) WHERE { ?d property:diplomatic_relation ?y . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?z = 25 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q159 Q142
SYSTEM
United States of America, Russia, France
Q801 Q142 Q159 Q30
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 25
[ANSWERS] have diplomatic relationships with approximately 25 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?z ) WHERE { ?d property:P530 ?y . ?d rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?d } . FILTER ( ?z = 25 ) }
Israel France Russia United States of America
United States of America, Russia and France have diplomatic relationships with approximately 25 administrative territories
United States of America Russia France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 25
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?y ) AS ?z ) WHERE { ?d property:diplomatic_relation ?y . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?d } . FILTER ( ?z = 25 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q30 Q159 Q142
P1532
Q6979593
USER
Which national association football teams play for those administrative territories ?
(c(Q6979593),P1532,Q30) (c(Q6979593),P1532,Q159) (c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q30'] [{'concept': 'Q6979593'}, 'P1532', 'Q159'] [{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P1532 ?b . ?s rdf:type ontology:Q6979593 . VALUES ( ?b ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q159 ) } }
United States of America Russia France
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'United States of America'] [{'concept': 'national association football team'}, 'country for sport', 'Russia'] [{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?s WHERE { ?s property:country_for_sport ?b . ?s rdf:type ontology:national_association_football_team . VALUES ( ?b ) { ( resource:Israel ) ( resource:France ) ( resource:Russia ) } }
[]
national association football team
Q334526 Q751670 Q7893547
SYSTEM
United States women's national soccer team, France women's national football team, United States women's national under-17 soccer team
Q7893547 Q1671357 Q334526 Q3873965 Q7893550 Q4179395 Q831395 Q17583342 Q751670 Q32970 Q3590215 Q3590145 Q4534660
(c(Q6979593),P1532,Q30) (c(Q6979593),P1532,Q159) (c(Q6979593),P1532,Q142)
action filter_type
action find_reverse
entity prev_answer
relation P1532
type Q6979593
[ANSWERS] play for those administrative territories
[{'concept': 'Q6979593'}, 'P1532', 'Q30'] [{'concept': 'Q6979593'}, 'P1532', 'Q159'] [{'concept': 'Q6979593'}, 'P1532', 'Q142']
SELECT DISTINCT ?s WHERE { ?s property:P1532 ?b . ?s rdf:type ontology:Q6979593 . VALUES ( ?b ) { ( resource:Q801 ) ( resource:Q142 ) ( resource:Q159 ) } }
United States women's national under-17 soccer team United States women's national under-20 soccer team United States women's national soccer team United States Olympic football team United States women's national under-23 soccer team Russia women's national under-19 football team Russia women's national football team Russia women's national under-17 football team France women's national football team France women's national under-19 football team France Olympic football team France women's national under-17 football team France national youth football team
United States women's national soccer team, France women's national football team and United States women's national under-17 soccer team play for those administrative territories
United States women's national soccer team France women's national football team United States women's national under-17 soccer team
action filter_type
action find_reverse
entity prev_answer
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'United States of America'] [{'concept': 'national association football team'}, 'country for sport', 'Russia'] [{'concept': 'national association football team'}, 'country for sport', 'France']
SELECT DISTINCT ?s WHERE { ?s property:country_for_sport ?b . ?s rdf:type ontology:national_association_football_team . VALUES ( ?b ) { ( resource:Israel ) ( resource:France ) ( resource:Russia ) } }
[]