Simple Question (Direct)
Simple Question
Q5772127
P1412
Q34770
USER
Which language is Claudio Sarría capable of writing ?
(Q5772127,P1412,c(Q34770))
action filter_type
action find
entity Q5772127
relation P1412
type Q34770
['Q5772127', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5772127 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Claudio Sarría
action filter_type
action find
entity Claudio Sarría
relation languages spoken, written or signed
type language
['Claudio Sarría', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Claudio_Sarría property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5772127,P1412,c(Q34770))
action filter_type
action find
entity Q5772127
relation P1412
type Q34770
[ANSWER] is Claudio Sarría capable of writing
['Q5772127', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?q WHERE { resource:Q5772127 property:P1412 ?q . ?q rdf:type ontology:Q34770 }
Spanish
Spanish is Claudio Sarría capable of writing
Spanish
action filter_type
action find
entity Claudio Sarría
relation languages spoken, written or signed
type language
['Claudio Sarría', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?q WHERE { resource:Claudio_Sarría property:languages_spoken,_written_or_signed ?q . ?q rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5772127
P641
Q349
USER
What was the sport that Claudio Sarría was a part of ?
(Q5772127,P641,c(Q349))
action filter_type
action find
entity Q5772127
relation P641
type Q349
['Q5772127', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q5772127 property:P641 ?y . ?y rdf:type ontology:Q349 }
Claudio Sarría
action filter_type
action find
entity Claudio Sarría
relation sport
type sport
['Claudio Sarría', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Claudio_Sarría property:sport ?y . ?y rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5772127,P641,c(Q349))
action filter_type
action find
entity Q5772127
relation P641
type Q349
The sport that Claudio Sarría was a part of was the [ANSWER]
['Q5772127', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { resource:Q5772127 property:P641 ?y . ?y rdf:type ontology:Q349 }
association football
The sport that Claudio Sarría was a part of was the association football
association football
action filter_type
action find
entity Claudio Sarría
relation sport
type sport
['Claudio Sarría', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { resource:Claudio_Sarría property:sport ?y . ?y rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2736 Q1163986
P264
Q2031291
USER
How many releases have association football or FlightGear as their record label ?
(c(Q2031291),P264,Q2736) (c(Q2031291),P264,Q1163986)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q1163986
relation P264
type Q2031291
[{'concept': 'Q2031291'}, 'P264', 'Q2736'] [{'concept': 'Q2031291'}, 'P264', 'Q1163986']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?u ) { ( resource:Q2736 ) ( resource:Q1163986 ) } . ?b property:P264 ?u }
association football FlightGear
action count
action union
action filter_type
action find_reverse
entity association football
relation record label
type release
action filter_type
action find_reverse
entity FlightGear
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football'] [{'concept': 'release'}, 'record label', 'FlightGear']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?u ) { ( resource:association_football ) ( resource:FlightGear ) } . ?b property:record_label ?u }
[]
release
SYSTEM
2
Q8052504 Q7597993
(c(Q2031291),P264,Q2736) (c(Q2031291),P264,Q1163986)
action count
action union
action filter_type
action find_reverse
entity Q2736
relation P264
type Q2031291
action filter_type
action find_reverse
entity Q1163986
relation P264
type Q2031291
[ANSWER]
[{'concept': 'Q2031291'}, 'P264', 'Q2736'] [{'concept': 'Q2031291'}, 'P264', 'Q1163986']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?u ) { ( resource:Q2736 ) ( resource:Q1163986 ) } . ?b property:P264 ?u }
Yeovil True Stan and Judy's Kid
2
action count
action union
action filter_type
action find_reverse
entity association football
relation record label
type release
action filter_type
action find_reverse
entity FlightGear
relation record label
type release
[{'concept': 'release'}, 'record label', 'association football'] [{'concept': 'release'}, 'record label', 'FlightGear']
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { VALUES ( ?u ) { ( resource:association_football ) ( resource:FlightGear ) } . ?b property:record_label ?u }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q2001982 Q8192 Q34770
USER
Which languages are around 1 notations or writing systems the writing system of ?
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?j property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } UNION { ?j property:P282 ?p . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?j property:writing_system ?p . ?p rdf:type ontology:notation . ?j rdf:type ontology:language } UNION { ?j property:writing_system ?p . ?j rdf:type ontology:language . ?p rdf:type ontology:writing_system } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
[]
notation writing system language
Q1669994 Q35470 Q2705672
SYSTEM
Minoan language, Elamite language, Paeonian language
Q35470 Q1669994 Q2705672 Q36795 Q20972034 Q36790 Q36751
(c(Q34770),P282,c(Q2001982)|c(Q8192))
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action find_tuple_counts
relation P282
type Q34770
type Q8192
value 1
[ANSWERS] are around 1 notations or writing systems the writing system of
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q2001982'}, {'concept': 'Q8192'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?j property:P282 ?p . ?p rdf:type ontology:Q2001982 . ?j rdf:type ontology:Q34770 } UNION { ?j property:P282 ?p . ?j rdf:type ontology:Q34770 . ?p rdf:type ontology:Q8192 } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
Elamite language Minoan language Paeonian language Tartessian Classic Greek Sumerian Phrygian language
Minoan language, Elamite language and Paeonian language are around 1 notations or writing systems the writing system of
Minoan language Elamite language Paeonian language
action approx
action union
action find_tuple_counts
relation writing system
type language
type notation
action find_tuple_counts
relation writing system
type language
type writing system
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'notation'}, {'concept': 'writing system'}]]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?s ) WHERE { { ?j property:writing_system ?p . ?p rdf:type ontology:notation . ?j rdf:type ontology:language } UNION { ?j property:writing_system ?p . ?j rdf:type ontology:language . ?p rdf:type ontology:writing_system } } GROUP BY ?j } . FILTER ( ?s = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5772127
P19
Q56061
USER
Which administrative territory was Claudio Sarría born in ?
(Q5772127,P19,c(Q56061))
action filter_type
action find
entity Q5772127
relation P19
type Q56061
['Q5772127', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5772127 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Claudio Sarría
action filter_type
action find
entity Claudio Sarría
relation place of birth
type administrative territorial entity
['Claudio Sarría', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Claudio_Sarría property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q44210
SYSTEM
Córdoba
Q44210
(Q5772127,P19,c(Q56061))
action filter_type
action find
entity Q5772127
relation P19
type Q56061
Claudio Sarría was born in [ANSWER]
['Q5772127', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q5772127 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Córdoba
Claudio Sarría was born in Córdoba
Córdoba
action filter_type
action find
entity Claudio Sarría
relation place of birth
type administrative territorial entity
['Claudio Sarría', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Claudio_Sarría property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P190
Q1048835 Q515
USER
How many political territories and cities are twin city of that administrative territory ?
(c(Q1048835),P190,Q44210) (c(Q515),P190,Q44210) (c(Q1048835),P190,Q44210) (c(Q515),P190,Q44210)
action count
action union
action filter_type
action find_reverse
entity Q44210
relation P190
type Q1048835
action filter_type
action find_reverse
entity Q44210
relation P190
type Q515
[{'concept': 'Q1048835'}, 'P190', 'Q44210'] [{'concept': 'Q515'}, 'P190', 'Q44210'] [{'concept': 'Q1048835'}, 'P190', 'Q44210'] [{'concept': 'Q515'}, 'P190', 'Q44210']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P190 resource:Q44210 . ?u rdf:type ontology:Q1048835 } UNION { ?u property:P190 resource:Q44210 . ?u rdf:type ontology:Q515 } }
action count
action union
action filter_type
action find_reverse
entity Córdoba
relation sister city
type political territorial entity
action filter_type
action find_reverse
entity Córdoba
relation sister city
type city
[{'concept': 'political territorial entity'}, 'sister city', 'Córdoba'] [{'concept': 'city'}, 'sister city', 'Córdoba'] [{'concept': 'political territorial entity'}, 'sister city', 'Córdoba'] [{'concept': 'city'}, 'sister city', 'Córdoba']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:sister_city resource:Córdoba . ?u rdf:type ontology:political_territorial_entity } UNION { ?u property:sister_city resource:Córdoba . ?u rdf:type ontology:city } }
[]
political territorial entity city
SYSTEM
2 political territories and 1 cities
Q899884 Q131620 Q11725
(c(Q1048835),P190,Q44210) (c(Q515),P190,Q44210) (c(Q1048835),P190,Q44210) (c(Q515),P190,Q44210)
action count
action union
action filter_type
action find_reverse
entity Q44210
relation P190
type Q1048835
action filter_type
action find_reverse
entity Q44210
relation P190
type Q515
[ANSWER]
[{'concept': 'Q1048835'}, 'P190', 'Q44210'] [{'concept': 'Q515'}, 'P190', 'Q44210'] [{'concept': 'Q1048835'}, 'P190', 'Q44210'] [{'concept': 'Q515'}, 'P190', 'Q44210']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P190 resource:Q44210 . ?u rdf:type ontology:Q1048835 } UNION { ?u property:P190 resource:Q44210 . ?u rdf:type ontology:Q515 } }
Ciutadella de Menorca Natal Chongqing
2 political territories and 1 cities
action count
action union
action filter_type
action find_reverse
entity Córdoba
relation sister city
type political territorial entity
action filter_type
action find_reverse
entity Córdoba
relation sister city
type city
[{'concept': 'political territorial entity'}, 'sister city', 'Córdoba'] [{'concept': 'city'}, 'sister city', 'Córdoba'] [{'concept': 'political territorial entity'}, 'sister city', 'Córdoba'] [{'concept': 'city'}, 'sister city', 'Córdoba']
SELECT DISTINCT ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:sister_city resource:Córdoba . ?u rdf:type ontology:political_territorial_entity } UNION { ?u property:sister_city resource:Córdoba . ?u rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q44210
P17
Q15617994
USER
Which administrative territory is Córdoba situated in ?
(Q44210,P17,c(Q15617994))
action filter_type
action find
entity Q44210
relation P17
type Q15617994
['Q44210', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q44210 property:P17 ?m }
Córdoba
action filter_type
action find
entity Córdoba
relation country
type designation for an administrative territorial entity
['Córdoba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Córdoba property:country ?m }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q44210,P17,c(Q15617994))
action filter_type
action find
entity Q44210
relation P17
type Q15617994
Córdoba is situated in [ANSWER]
['Q44210', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q15617994 . resource:Q44210 property:P17 ?m }
Argentina
Córdoba is situated in Argentina
Argentina
action filter_type
action find
entity Córdoba
relation country
type designation for an administrative territorial entity
['Córdoba', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Córdoba property:country ?m }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1222009
Q15617994
USER
And also tell me about Lagery?
(Q1222009,P17,c(Q15617994))
action filter_type
action find
entity Q1222009
relation P17
type Q15617994
['Q1222009', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1222009 property:P17 ?y }
Lagery
action filter_type
action find
entity Lagery
relation country
type designation for an administrative territorial entity
['Lagery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lagery property:country ?y }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1222009,P17,c(Q15617994))
action filter_type
action find
entity Q1222009
relation P17
type Q15617994
[ANSWER]
['Q1222009', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q15617994 . resource:Q1222009 property:P17 ?y }
France
France
action filter_type
action find
entity Lagery
relation country
type designation for an administrative territorial entity
['Lagery', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Lagery property:country ?y }
[]