Simple Question (Direct)
Simple Question
Q5336567
P734
Q82799
USER
Who is associated with Eddie Williams ?
(Q5336567,P734,c(Q82799))
action filter_type
action find
entity Q5336567
relation P734
type Q82799
['Q5336567', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q5336567 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Eddie Williams
action filter_type
action find
entity Eddie Williams
relation family name
type name
['Eddie Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Eddie_Williams property:family_name ?o . ?o rdf:type ontology:name }
[]
name
Q1688722
SYSTEM
Williams
Q1688722
(Q5336567,P734,c(Q82799))
action filter_type
action find
entity Q5336567
relation P734
type Q82799
[ANSWER] is associated with Eddie [ANSWER]
['Q5336567', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?o WHERE { resource:Q5336567 property:P734 ?o . ?o rdf:type ontology:Q82799 }
Williams
Williams is associated with Eddie Williams
Williams
action filter_type
action find
entity Eddie Williams
relation family name
type name
['Eddie Williams', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?o WHERE { resource:Eddie_Williams property:family_name ?o . ?o rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are the languages of work for around 119 names ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 119
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?j rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 . ?i property:P407 ?j } GROUP BY ?j } . FILTER ( ?b = 119 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 119
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?j rdf:type ontology:language . ?i rdf:type ontology:name . ?i property:language_of_work_or_name ?j } GROUP BY ?j } . FILTER ( ?b = 119 ) }
[]
language name
Q1321 Q652
SYSTEM
Spanish, Italian
Q1321 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 119
[ANSWERS] are the languages of work for around 119 names
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?j rdf:type ontology:Q34770 . ?i rdf:type ontology:Q82799 . ?i property:P407 ?j } GROUP BY ?j } . FILTER ( ?b = 119 ) }
Spanish Italian
Spanish and Italian are the languages of work for around 119 names
Spanish Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 119
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?i ) AS ?b ) WHERE { ?j rdf:type ontology:language . ?i rdf:type ontology:name . ?i property:language_of_work_or_name ?j } GROUP BY ?j } . FILTER ( ?b = 119 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1321 Q652
P37
Q7275
USER
Which states are those ones associated to as the official language ?
(c(Q7275),P37,Q1321) (c(Q7275),P37,Q652)
action filter_type
action find_reverse
entity prev_answer
relation P37
type Q7275
[{'concept': 'Q7275'}, 'P37', 'Q1321'] [{'concept': 'Q7275'}, 'P37', 'Q652']
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q1321 ) ( resource:Q652 ) } . ?s rdf:type ontology:Q7275 . ?s property:P37 ?h }
Spanish Italian
action filter_type
action find_reverse
entity prev_answer
relation official language
type state
[{'concept': 'state'}, 'official language', 'Spanish'] [{'concept': 'state'}, 'official language', 'Italian']
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Spanish ) ( resource:Italian ) } . ?s rdf:type ontology:state . ?s property:official_language ?h }
[]
state
Q947153 Q4948 Q953432
SYSTEM
Kingdom of Tavolara, Republic of Venice, Couto Misto
Q1322229 Q1709185 Q1617495 Q953432 Q7251405 Q4948 Q947153
(c(Q7275),P37,Q1321) (c(Q7275),P37,Q652)
action filter_type
action find_reverse
entity prev_answer
relation P37
type Q7275
[ANSWERS]
[{'concept': 'Q7275'}, 'P37', 'Q1321'] [{'concept': 'Q7275'}, 'P37', 'Q652']
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Q1321 ) ( resource:Q652 ) } . ?s rdf:type ontology:Q7275 . ?s property:P37 ?h }
Enlightenment in Spain Kingdom of Spain under Joseph Bonaparte Kingdom of Jaén Couto Misto Protectorate of Peru Republic of Venice Kingdom of Tavolara
Kingdom of Tavolara Republic of Venice Couto Misto
action filter_type
action find_reverse
entity prev_answer
relation official language
type state
[{'concept': 'state'}, 'official language', 'Spanish'] [{'concept': 'state'}, 'official language', 'Italian']
SELECT DISTINCT ?s WHERE { VALUES ( ?h ) { ( resource:Spanish ) ( resource:Italian ) } . ?s rdf:type ontology:state . ?s property:official_language ?h }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q947153 Q4948 Q953432
P37
Q34770
USER
What are the official languages of Kingdom of Tavolara, Republic of Venice and Couto Misto ?
(Q947153,P37,c(Q34770)) (Q4948,P37,c(Q34770)) (Q953432,P37,c(Q34770))
action union
action filter_type
action find
entity Q947153
relation P37
type Q34770
action filter_type
action find
entity Q4948
relation P37
type Q34770
action filter_type
action find
entity Q953432
relation P37
type Q34770
['Q947153', 'P37', {'concept': 'Q34770'}] ['Q4948', 'P37', {'concept': 'Q34770'}] ['Q953432', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?w ) { ( resource:Q947153 ) ( resource:Q4948 ) } . ?w property:P37 ?f }
Kingdom of Tavolara Republic of Venice Couto Misto
action union
action filter_type
action find
entity Kingdom of Tavolara
relation official language
type language
action filter_type
action find
entity Republic of Venice
relation official language
type language
action filter_type
action find
entity Couto Misto
relation official language
type language
['Kingdom of Tavolara', 'official language', {'concept': 'language'}] ['Republic of Venice', 'official language', {'concept': 'language'}] ['Couto Misto', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?w ) { ( resource:Kingdom_of_Tavolara ) ( resource:Republic_of_Venice ) } . ?w property:official_language ?f }
[]
language
Q397 Q652 Q33976
SYSTEM
Latin, Italian, Sardinian language
Q652 Q33976 Q652 Q397 Q1321
(Q947153,P37,c(Q34770)) (Q4948,P37,c(Q34770)) (Q953432,P37,c(Q34770))
action union
action filter_type
action find
entity Q947153
relation P37
type Q34770
action filter_type
action find
entity Q4948
relation P37
type Q34770
action filter_type
action find
entity Q953432
relation P37
type Q34770
The official languages of Kingdom of Tavolara , Republic of Venice and Couto Misto are the [ANSWERS]
['Q947153', 'P37', {'concept': 'Q34770'}] ['Q4948', 'P37', {'concept': 'Q34770'}] ['Q953432', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?w ) { ( resource:Q947153 ) ( resource:Q4948 ) } . ?w property:P37 ?f }
Italian Sardinian language Italian Latin Spanish
The official languages of Kingdom of Tavolara , Republic of Venice and Couto Misto are the Latin, Italian and Sardinian language
Latin Italian Sardinian language
action union
action filter_type
action find
entity Kingdom of Tavolara
relation official language
type language
action filter_type
action find
entity Republic of Venice
relation official language
type language
action filter_type
action find
entity Couto Misto
relation official language
type language
['Kingdom of Tavolara', 'official language', {'concept': 'language'}] ['Republic of Venice', 'official language', {'concept': 'language'}] ['Couto Misto', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { VALUES ( ?w ) { ( resource:Kingdom_of_Tavolara ) ( resource:Republic_of_Venice ) } . ?w property:official_language ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4948
P36
Q56061
USER
Which administrative territory is called the capital of Republic of Venice ?
(Q4948,P36,c(Q56061))
action filter_type
action find
entity Q4948
relation P36
type Q56061
['Q4948', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4948 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Republic of Venice
action filter_type
action find
entity Republic of Venice
relation capital
type administrative territorial entity
['Republic of Venice', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Republic_of_Venice property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q641
SYSTEM
Venice
Q641
(Q4948,P36,c(Q56061))
action filter_type
action find
entity Q4948
relation P36
type Q56061
[ANSWER] is called the capital of Republic of [ANSWER]
['Q4948', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?b WHERE { resource:Q4948 property:P36 ?b . ?b rdf:type ontology:Q56061 }
Venice
Venice is called the capital of Republic of Venice
Venice
action filter_type
action find
entity Republic of Venice
relation capital
type administrative territorial entity
['Republic of Venice', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Republic_of_Venice property:capital ?b . ?b rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q489324
Q56061
USER
And what about Tillman County?
(Q489324,P36,c(Q56061))
action filter_type
action find
entity Q489324
relation P36
type Q56061
['Q489324', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q489324 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Tillman County
action filter_type
action find
entity Tillman County
relation capital
type administrative territorial entity
['Tillman County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tillman_County property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q165941
SYSTEM
Frederick
Q165941
(Q489324,P36,c(Q56061))
action filter_type
action find
entity Q489324
relation P36
type Q56061
[ANSWER]
['Q489324', 'P36', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { resource:Q489324 property:P36 ?a . ?a rdf:type ontology:Q56061 }
Frederick
Frederick
action filter_type
action find
entity Tillman County
relation capital
type administrative territorial entity
['Tillman County', 'capital', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Tillman_County property:capital ?a . ?a rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q165941 Q3563282
P17
Q15617994
USER
Does Frederick belong to Rumi District ?
(Q165941,P17,Q3563282)
action is_in
entity Q3563282
action find
entity Q165941
relation P17
['Q165941', 'P17', 'Q3563282']
ASK WHERE { resource:Q165941 property:P17 resource:Q3563282 }
Frederick Rumi District
action is_in
entity Rumi District
action find
entity Frederick
relation country
['Frederick', 'country', 'Rumi District']
ASK WHERE { resource:Frederick property:country resource:Rumi_District }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q165941,P17,Q3563282)
action is_in
entity Q3563282
action find
entity Q165941
relation P17
[ANSWER]
['Q165941', 'P17', 'Q3563282']
ASK WHERE { resource:Q165941 property:P17 resource:Q3563282 }
No
action is_in
entity Rumi District
action find
entity Frederick
relation country
['Frederick', 'country', 'Rumi District']
ASK WHERE { resource:Frederick property:country resource:Rumi_District }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P407
Q34770 Q2031291 Q14795564
USER
Which languages are the languages of work for exactly 4 releases and determinators for date of periodic occurrence ?
(c(Q2031291)|c(Q14795564),P407,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
value 4
[[{'concept': 'Q2031291'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?x WHERE { { ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2031291 . ?q property:P407 ?x } UNION { ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q14795564 . ?q property:P407 ?x } } GROUP BY ?x } . FILTER ( ?k = 4 ) }
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
value 4
[[{'concept': 'release'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?x WHERE { { ?x rdf:type ontology:language . ?q rdf:type ontology:release . ?q property:language_of_work_or_name ?x } UNION { ?x rdf:type ontology:language . ?q rdf:type ontology:determinator_for_date_of_periodic_occurrence . ?q property:language_of_work_or_name ?x } } GROUP BY ?x } . FILTER ( ?k = 4 ) }
[]
language release determinator for date of periodic occurrence
Q8785 Q397
SYSTEM
Armenian, Latin
Q8785 Q397
(c(Q2031291)|c(Q14795564),P407,c(Q34770))
action equal
action union
action find_reverse_tuple_counts
relation P407
type Q34770
type Q2031291
action find_reverse_tuple_counts
relation P407
type Q34770
type Q14795564
value 4
[ANSWERS] are the languages of work for exactly 4 releases and determinators for date of periodic occurrence
[[{'concept': 'Q2031291'}, {'concept': 'Q14795564'}], 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?x WHERE { { ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q2031291 . ?q property:P407 ?x } UNION { ?x rdf:type ontology:Q34770 . ?q rdf:type ontology:Q14795564 . ?q property:P407 ?x } } GROUP BY ?x } . FILTER ( ?k = 4 ) }
Armenian Latin
Armenian and Latin are the languages of work for exactly 4 releases and determinators for date of periodic occurrence
Armenian Latin
action equal
action union
action find_reverse_tuple_counts
relation language of work or name
type language
type release
action find_reverse_tuple_counts
relation language of work or name
type language
type determinator for date of periodic occurrence
value 4
[[{'concept': 'release'}, {'concept': 'determinator for date of periodic occurrence'}], 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) ?x WHERE { { ?x rdf:type ontology:language . ?q rdf:type ontology:release . ?q property:language_of_work_or_name ?x } UNION { ?x rdf:type ontology:language . ?q rdf:type ontology:determinator_for_date_of_periodic_occurrence . ?q property:language_of_work_or_name ?x } } GROUP BY ?x } . FILTER ( ?k = 4 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q397
P921
Q571
USER
Which book was primarily based on that language ?
(c(Q571),P921,Q397)
action filter_type
action find_reverse
entity Q397
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q397']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q571 . ?y property:P921 resource:Q397 }
Latin
action filter_type
action find_reverse
entity Latin
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Latin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:book . ?y property:main_subject resource:Latin }
[]
book
Clarification for simple ques.
Q8785
SYSTEM
Did you mean Armenian ?
Q8785 Q397
(c(Q571),P921,Q8785) (c(Q571),P921,Q397)
[ANSWER]
[{'concept': 'Q571'}, 'P921', 'Q8785'] [{'concept': 'Q571'}, 'P921', 'Q397']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q571 . ?y property:P921 resource:Q397 }
Armenian Latin
Did you mean Armenian ?
Armenian
[{'concept': 'book'}, 'main subject', 'Armenian'] [{'concept': 'book'}, 'main subject', 'Latin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:book . ?y property:main_subject resource:Latin }
[]
Simple Question (Coreferenced)
USER
No, I meant Latin. Could you tell me the answer for that?
(c(Q571),P921,Q397)
Q397
[{'concept': 'Q571'}, 'P921', 'Q397']
[{'concept': 'book'}, 'main subject', 'Latin']
[]
Q24451333
SYSTEM
The New Latin Primer
Q24451333
(c(Q571),P921,Q397)
action filter_type
action find_reverse
entity Q397
relation P921
type Q571
[ANSWER] was primarily based on that language
[{'concept': 'Q571'}, 'P921', 'Q397']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q571 . ?y property:P921 resource:Q397 }
The New Latin Primer
The New Latin Primer was primarily based on that language
The New Latin Primer
action filter_type
action find_reverse
entity Latin
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Latin']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:book . ?y property:main_subject resource:Latin }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P37
Q34770 Q1048835 Q7275
USER
Which languages are recognized as the official language of atleast 11 political territories or states ?
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 11
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:P37 ?e . ?e rdf:type ontology:Q34770 . ?d rdf:type ontology:Q7275 } UNION { ?d property:P37 ?e . ?d rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q34770 } } GROUP BY ?e } . FILTER ( ?f >= 11 ) }
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:official_language ?e . ?e rdf:type ontology:language . ?d rdf:type ontology:state } UNION { ?d property:official_language ?e . ?d rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:language } } GROUP BY ?e } . FILTER ( ?f >= 11 ) }
[]
language political territorial entity state
Q1860 Q1321
SYSTEM
English, Spanish
Q1860 Q1321
(c(Q1048835)|c(Q7275),P37,c(Q34770))
action atleast
action union
action find_reverse_tuple_counts
relation P37
type Q34770
type Q1048835
action find_reverse_tuple_counts
relation P37
type Q34770
type Q7275
value 11
[ANSWERS] are recognized as the official language of atleast 11 political territories or states
[[{'concept': 'Q1048835'}, {'concept': 'Q7275'}], 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:P37 ?e . ?e rdf:type ontology:Q34770 . ?d rdf:type ontology:Q7275 } UNION { ?d property:P37 ?e . ?d rdf:type ontology:Q1048835 . ?e rdf:type ontology:Q34770 } } GROUP BY ?e } . FILTER ( ?f >= 11 ) }
English Spanish
English and Spanish are recognized as the official language of atleast 11 political territories or states
English Spanish
action atleast
action union
action find_reverse_tuple_counts
relation official language
type language
type political territorial entity
action find_reverse_tuple_counts
relation official language
type language
type state
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'state'}], 'official language', {'concept': 'language'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?f ) WHERE { { ?d property:official_language ?e . ?e rdf:type ontology:language . ?d rdf:type ontology:state } UNION { ?d property:official_language ?e . ?d rdf:type ontology:political_territorial_entity . ?e rdf:type ontology:language } } GROUP BY ?e } . FILTER ( ?f >= 11 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1860 Q1321
P101
Q502895
USER
Which people work in the domain of English and Spanish ?
(c(Q502895),P101,Q1860) (c(Q502895),P101,Q1321)
action union
action filter_type
action find_reverse
entity Q1860
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q1860'] [{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?p WHERE { { ?p property:P101 resource:Q1860 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P101 resource:Q1321 . ?p rdf:type ontology:Q502895 } }
English Spanish
action union
action filter_type
action find_reverse
entity English
relation field of work
type common name
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'English'] [{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?p WHERE { { ?p property:field_of_work resource:English . ?p rdf:type ontology:common_name } UNION { ?p property:field_of_work resource:Spanish . ?p rdf:type ontology:common_name } }
[]
common name
Q6775684 Q6775684 Q7155818
SYSTEM
Martin Hilský for 1st, 2nd, Pavel Šrut for 3rd
Q15438439 Q12033412 Q12023317 Q7155818 Q4155986 Q6003643 Q6775684 Q12016963 Q12026063 Q17157078 Q21886139 Q12054279 Q7155818 Q19800675 Q6775684 Q21883986 Q12044360 Q16515323 Q10823155 Q11985590
(c(Q502895),P101,Q1860) (c(Q502895),P101,Q1321)
action union
action filter_type
action find_reverse
entity Q1860
relation P101
type Q502895
action filter_type
action find_reverse
entity Q1321
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q1860'] [{'concept': 'Q502895'}, 'P101', 'Q1321']
SELECT DISTINCT ?p WHERE { { ?p property:P101 resource:Q1860 . ?p rdf:type ontology:Q502895 } UNION { ?p property:P101 resource:Q1321 . ?p rdf:type ontology:Q502895 } }
John R. Milton Libuse Duskova Jan Čermák Pavel Šrut Milan Dvořák María Dueñas Martin Hilský František Chudoba Josef Hendrich Petr Zavadil Miloslav Uličný Simona Binková Pavel Šrut Zdeněk Šmíd Martin Hilský Josef Forbelský Pavla Lidmilová Blanka Stárková Anežka Charvátová Václav Jiřina
Martin Hilský, Martin Hilský and Pavel Šrut work in the domain of English and Spanish
Martin Hilský Martin Hilský Pavel Šrut
action union
action filter_type
action find_reverse
entity English
relation field of work
type common name
action filter_type
action find_reverse
entity Spanish
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'English'] [{'concept': 'common name'}, 'field of work', 'Spanish']
SELECT DISTINCT ?p WHERE { { ?p property:field_of_work resource:English . ?p rdf:type ontology:common_name } UNION { ?p property:field_of_work resource:Spanish . ?p rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q6775684
P19
Q56061
USER
Which administrative territory was that person born at ?
(Q6775684,P19,c(Q56061))
action filter_type
action find
entity Q6775684
relation P19
type Q56061
['Q6775684', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6775684 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Martin Hilský
action filter_type
action find
entity Martin Hilský
relation place of birth
type administrative territorial entity
['Martin Hilský', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Martin_Hilský property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q6775684
SYSTEM
Did you mean Martin Hilský ?
Q6775684 Q6775684 Q7155818
(Q6775684,P19,c(Q56061)) (Q6775684,P19,c(Q56061)) (Q7155818,P19,c(Q56061))
[ANSWER]
['Q6775684', 'P19', {'concept': 'Q56061'}] ['Q6775684', 'P19', {'concept': 'Q56061'}] ['Q7155818', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6775684 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Martin Hilský Martin Hilský Pavel Šrut
Did you mean Martin Hilský ?
Martin Hilský
['Martin Hilský', 'place of birth', {'concept': 'administrative territorial entity'}] ['Martin Hilský', 'place of birth', {'concept': 'administrative territorial entity'}] ['Pavel Šrut', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Martin_Hilský property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q6775684,P19,c(Q56061))
['Q6775684', 'P19', {'concept': 'Q56061'}]
['Martin Hilský', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q1085
SYSTEM
Prague
Q1085
(Q6775684,P19,c(Q56061))
action filter_type
action find
entity Q6775684
relation P19
type Q56061
That person was born in [ANSWER]
['Q6775684', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q6775684 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Prague
That person was born in Prague
Prague
action filter_type
action find
entity Martin Hilský
relation place of birth
type administrative territorial entity
['Martin Hilský', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Martin_Hilský property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]