Simple Question (Direct)
Simple Question
Q15448387
P106
Q28640
USER
What is the profession of Nephi Jensen ?
(Q15448387,P106,c(Q28640))
action filter_type
action find
entity Q15448387
relation P106
type Q28640
['Q15448387', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q15448387 property:P106 ?x . ?x rdf:type ontology:Q28640 }
Nephi Jensen
action filter_type
action find
entity Nephi Jensen
relation occupation
type profession
['Nephi Jensen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Nephi_Jensen property:occupation ?x . ?x rdf:type ontology:profession }
[]
profession
Q40348
SYSTEM
lawyer
Q40348
(Q15448387,P106,c(Q28640))
action filter_type
action find
entity Q15448387
relation P106
type Q28640
The profession of Nephi Jensen is a [ANSWER]
['Q15448387', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?x WHERE { resource:Q15448387 property:P106 ?x . ?x rdf:type ontology:Q28640 }
lawyer
The profession of Nephi Jensen is a lawyer
lawyer
action filter_type
action find
entity Nephi Jensen
relation occupation
type profession
['Nephi Jensen', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?x WHERE { resource:Nephi_Jensen property:occupation ?x . ?x rdf:type ontology:profession }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40348
P417
Q502895
USER
What are the names of the patron saint of that profession ?
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q40348 property:P417 ?u . ?u rdf:type ontology:Q502895 }
lawyer
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:lawyer property:patron_saint ?u . ?u rdf:type ontology:common_name }
[]
common name
Q179718 Q358325
SYSTEM
Catherine of Alexandria, Ivo of Kermartin
Q179718 Q358325
(Q40348,P417,c(Q502895))
action filter_type
action find
entity Q40348
relation P417
type Q502895
The names of the patron saint of that profession are Saint [ANSWERS]
['Q40348', 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q40348 property:P417 ?u . ?u rdf:type ontology:Q502895 }
Catherine of Alexandria Ivo of Kermartin
The names of the patron saint of that profession are Saint Catherine of Alexandria and Ivo of Kermartin
Catherine of Alexandria Ivo of Kermartin
action filter_type
action find
entity lawyer
relation patron saint
type common name
['lawyer', 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:lawyer property:patron_saint ?u . ?u rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q247120
P725
Q502895 Q95074
USER
Which fictional characters had around the same number of people as the dubbing artist as Neo ?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q247120
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?a ) WHERE { ?o property:P725 ?z . ?o rdf:type ontology:Q95074 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q247120 property:P725 ?x . ?x rdf:type ontology:Q95074 } } . FILTER ( ?a = ?j ) }
Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Neo
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?a ) WHERE { ?o property:voice_actor ?z . ?o rdf:type ontology:fictional_character . ?z rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Neo property:voice_actor ?x . ?x rdf:type ontology:fictional_character } } . FILTER ( ?a = ?j ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q247120
relation P725
type Q95074
[ANSWERS] had around the same number of people as the dubbing artist as Neo
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?a ) WHERE { ?o property:P725 ?z . ?o rdf:type ontology:Q95074 . ?z rdf:type ontology:Q502895 } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Q247120 property:P725 ?x . ?x rdf:type ontology:Q95074 } } . FILTER ( ?a = ?j ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson, Homer Simpson and Neo had around the same number of people as the dubbing artist as Neo
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Neo
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?z ) AS ?a ) WHERE { ?o property:voice_actor ?z . ?o rdf:type ontology:fictional_character . ?z rdf:type ontology:common_name } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) WHERE { resource:Neo property:voice_actor ?x . ?x rdf:type ontology:fictional_character } } . FILTER ( ?a = ?j ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q5846
P725
Q502895 Q95074
USER
And what about Lisa Simpson?
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q5846
relation P725
type Q95074
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?r ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:Q95074 . resource:Q5846 property:P725 ?t } } . FILTER ( ?r = ?z ) }
Lisa Simpson
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Lisa Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?r ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:fictional_character . resource:Lisa_Simpson property:voice_actor ?t } } . FILTER ( ?r = ?z ) }
[]
common name fictional character
Q7828 Q7810 Q247120
SYSTEM
Marge Simpson, Homer Simpson, Neo
Q21847055 Q308950 Q28465 Q551327 Q2442950 Q7828 Q3838346 Q8139731 Q247120 Q1529229 Q27493503 Q605125 Q5846 Q7810 Q2725247
(c(Q95074),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q95074
type Q502895
action count
action filter_type
action find
entity Q5846
relation P725
type Q95074
[ANSWERS]
[{'concept': 'Q95074'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?r ) WHERE { ?w property:P725 ?s . ?w rdf:type ontology:Q95074 . ?s rdf:type ontology:Q502895 } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:Q95074 . resource:Q5846 property:P725 ?t } } . FILTER ( ?r = ?z ) }
Itsuki Tachibana Ash Ketchum Peter Griffin terminator Max Rockatansky Marge Simpson Lucas G-Man Neo Darkwing Duck Desoto GLaDOS Lisa Simpson Homer Simpson Ness
Marge Simpson Homer Simpson Neo
action approx
action find_tuple_counts
relation voice actor
type fictional character
type common name
action count
action filter_type
action find
entity Lisa Simpson
relation voice actor
type fictional character
[{'concept': 'fictional character'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?s ) AS ?r ) WHERE { ?w property:voice_actor ?s . ?w rdf:type ontology:fictional_character . ?s rdf:type ontology:common_name } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?z ) WHERE { ?t rdf:type ontology:fictional_character . resource:Lisa_Simpson property:voice_actor ?t } } . FILTER ( ?r = ?z ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q179718
P2348
Q451967 Q3024240
USER
How many human actions and former countries did Catherine of Alexandria occur ?
(Q179718,P2348,c(Q451967)) (Q179718,P2348,c(Q3024240))
action count
action union
action filter_type
action find
entity Q179718
relation P2348
type Q451967
action filter_type
action find
entity Q179718
relation P2348
type Q3024240
['Q179718', 'P2348', {'concept': 'Q451967'}] ['Q179718', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Q179718 property:P2348 ?j . ?j rdf:type ontology:Q451967 } UNION { resource:Q179718 property:P2348 ?j . ?j rdf:type ontology:Q3024240 } }
Catherine of Alexandria
action count
action union
action filter_type
action find
entity Catherine of Alexandria
relation period
type human action
action filter_type
action find
entity Catherine of Alexandria
relation period
type former country
['Catherine of Alexandria', 'period', {'concept': 'human action'}] ['Catherine of Alexandria', 'period', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Catherine_of_Alexandria property:period ?j . ?j rdf:type ontology:human_action } UNION { resource:Catherine_of_Alexandria property:period ?j . ?j rdf:type ontology:former_country } }
[]
human action former country
SYSTEM
1 human actions and 1 former countries
Q428995 Q2277
(Q179718,P2348,c(Q451967)) (Q179718,P2348,c(Q3024240))
action count
action union
action filter_type
action find
entity Q179718
relation P2348
type Q451967
action filter_type
action find
entity Q179718
relation P2348
type Q3024240
[ANSWER]
['Q179718', 'P2348', {'concept': 'Q451967'}] ['Q179718', 'P2348', {'concept': 'Q3024240'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Q179718 property:P2348 ?j . ?j rdf:type ontology:Q451967 } UNION { resource:Q179718 property:P2348 ?j . ?j rdf:type ontology:Q3024240 } }
Hellenistic period Roman Empire
1 human actions and 1 former countries
action count
action union
action filter_type
action find
entity Catherine of Alexandria
relation period
type human action
action filter_type
action find
entity Catherine of Alexandria
relation period
type former country
['Catherine of Alexandria', 'period', {'concept': 'human action'}] ['Catherine of Alexandria', 'period', {'concept': 'former country'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?x ) WHERE { { resource:Catherine_of_Alexandria property:period ?j . ?j rdf:type ontology:human_action } UNION { resource:Catherine_of_Alexandria property:period ?j . ?j rdf:type ontology:former_country } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7810
P22
Q95074
USER
Who was the dad of Homer Simpson ?
(Q7810,P22,c(Q95074))
action filter_type
action find
entity Q7810
relation P22
type Q95074
['Q7810', 'P22', {'concept': 'Q95074'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q95074 . resource:Q7810 property:P22 ?j }
Homer Simpson
action filter_type
action find
entity Homer Simpson
relation father
type fictional character
['Homer Simpson', 'father', {'concept': 'fictional character'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:fictional_character . resource:Homer_Simpson property:father ?j }
[]
fictional character
Q842104
SYSTEM
Grampa Simpson
Q842104
(Q7810,P22,c(Q95074))
action filter_type
action find
entity Q7810
relation P22
type Q95074
The dad of Homer Simpson was Homer [ANSWER]
['Q7810', 'P22', {'concept': 'Q95074'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q95074 . resource:Q7810 property:P22 ?j }
Grampa Simpson
The dad of Homer Simpson was Homer Grampa Simpson
Grampa Simpson
action filter_type
action find
entity Homer Simpson
relation father
type fictional character
['Homer Simpson', 'father', {'concept': 'fictional character'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:fictional_character . resource:Homer_Simpson property:father ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q842104
P7
Q15619164
USER
Who are siblings of that fictional character ?
(c(Q15619164),P7,Q842104)
action filter_type
action find
entity Q842104
relation P7
type Q15619164
[{'concept': 'Q15619164'}, 'P7', 'Q842104']
SELECT DISTINCT ?j WHERE { resource:Q842104 property:P7 ?j . ?j rdf:type ontology:Q15619164 }
Grampa Simpson
action filter_type
action find
entity Grampa Simpson
relation brother
type abstract being
[{'concept': 'abstract being'}, 'brother', 'Grampa Simpson']
SELECT DISTINCT ?j WHERE { resource:Grampa_Simpson property:brother ?j . ?j rdf:type ontology:abstract_being }
[]
abstract being
Q9657430 Q3009493
SYSTEM
Bill Simpson, Cyrus Simpson
Q9657430 Q3009493
(c(Q15619164),P7,Q842104)
action filter_type
action find
entity Q842104
relation P7
type Q15619164
Siblings of that fictional character are the [ANSWERS]
[{'concept': 'Q15619164'}, 'P7', 'Q842104']
SELECT DISTINCT ?j WHERE { resource:Q842104 property:P7 ?j . ?j rdf:type ontology:Q15619164 }
Bill Simpson Cyrus Simpson
Siblings of that fictional character are the Bill Simpson and Cyrus Simpson
Bill Simpson Cyrus Simpson
action filter_type
action find
entity Grampa Simpson
relation brother
type abstract being
[{'concept': 'abstract being'}, 'brother', 'Grampa Simpson']
SELECT DISTINCT ?j WHERE { resource:Grampa_Simpson property:brother ?j . ?j rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q358325
P138
Q44539
USER
Which temple comes from Ivo of Kermartin ?
(c(Q44539),P138,Q358325)
action filter_type
action find_reverse
entity Q358325
relation P138
type Q44539
[{'concept': 'Q44539'}, 'P138', 'Q358325']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q44539 . ?p property:P138 resource:Q358325 }
Ivo of Kermartin
action filter_type
action find_reverse
entity Ivo of Kermartin
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Ivo of Kermartin']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:temple . ?p property:named_after resource:Ivo_of_Kermartin }
[]
temple
Q3584709
SYSTEM
Sant'Ivo dei Bretoni
Q3584709
(c(Q44539),P138,Q358325)
action filter_type
action find_reverse
entity Q358325
relation P138
type Q44539
[ANSWER] comes from Ivo of Kermartin
[{'concept': 'Q44539'}, 'P138', 'Q358325']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q44539 . ?p property:P138 resource:Q358325 }
Sant'Ivo dei Bretoni
Sant'Ivo dei Bretoni comes from Ivo of Kermartin
Sant'Ivo dei Bretoni
action filter_type
action find_reverse
entity Ivo of Kermartin
relation named after
type temple
[{'concept': 'temple'}, 'named after', 'Ivo of Kermartin']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:temple . ?p property:named_after resource:Ivo_of_Kermartin }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3584709
P17
Q15617994
USER
Which administrative territory is that temple a part of ?
(Q3584709,P17,c(Q15617994))
action filter_type
action find
entity Q3584709
relation P17
type Q15617994
['Q3584709', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3584709 property:P17 ?h }
Sant'Ivo dei Bretoni
action filter_type
action find
entity Sant'Ivo dei Bretoni
relation country
type designation for an administrative territorial entity
["Sant'Ivo dei Bretoni", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sant'Ivo_dei_Bretoni property:country ?h }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3584709,P17,c(Q15617994))
action filter_type
action find
entity Q3584709
relation P17
type Q15617994
The [ANSWER] is that temple a part of
['Q3584709', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15617994 . resource:Q3584709 property:P17 ?h }
Italy
The Italy is that temple a part of
Italy
action filter_type
action find
entity Sant'Ivo dei Bretoni
relation country
type designation for an administrative territorial entity
["Sant'Ivo dei Bretoni", 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Sant'Ivo_dei_Bretoni property:country ?h }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q38 Q1743447 Q24851859
P35
Q502895
USER
Does that administrative territory have Kiril Christov and Veemsen Lama as its chief of state ?
(Q38,P35,Q1743447) (Q38,P35,Q24851859)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1743447
relation P35
action find_reverse
entity Q24851859
relation P35
['Q38', 'P35', 'Q1743447'] ['Q38', 'P35', 'Q24851859']
ASK WHERE { resource:Q38 property:P35 resource:Q1743447 . resource:Q38 property:P35 resource:Q24851859 }
Italy Kiril Christov Veemsen Lama
action is_in
entity Italy
action intersection
action find_reverse
entity Kiril Christov
relation head of state
action find_reverse
entity Veemsen Lama
relation head of state
['Italy', 'head of state', 'Kiril Christov'] ['Italy', 'head of state', 'Veemsen Lama']
ASK WHERE { resource:Italy property:head_of_state resource:Kiril_Christov . resource:Italy property:head_of_state resource:Veemsen_Lama }
[]
common name
SYSTEM
NO
(Q38,P35,Q1743447) (Q38,P35,Q24851859)
action is_in
entity Q38
action intersection
action find_reverse
entity Q1743447
relation P35
action find_reverse
entity Q24851859
relation P35
[ANSWER]
['Q38', 'P35', 'Q1743447'] ['Q38', 'P35', 'Q24851859']
ASK WHERE { resource:Q38 property:P35 resource:Q1743447 . resource:Q38 property:P35 resource:Q24851859 }
No
action is_in
entity Italy
action intersection
action find_reverse
entity Kiril Christov
relation head of state
action find_reverse
entity Veemsen Lama
relation head of state
['Italy', 'head of state', 'Kiril Christov'] ['Italy', 'head of state', 'Veemsen Lama']
ASK WHERE { resource:Italy property:head_of_state resource:Kiril_Christov . resource:Italy property:head_of_state resource:Veemsen_Lama }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q179718 Q2277
P2348
Q3024240
USER
Did Catherine of Alexandria take place Roman Empire ?
(Q179718,P2348,Q2277)
action is_in
entity Q2277
action find
entity Q179718
relation P2348
['Q179718', 'P2348', 'Q2277']
ASK WHERE { resource:Q179718 property:P2348 resource:Q2277 }
Catherine of Alexandria Roman Empire
action is_in
entity Roman Empire
action find
entity Catherine of Alexandria
relation period
['Catherine of Alexandria', 'period', 'Roman Empire']
ASK WHERE { resource:Catherine_of_Alexandria property:period resource:Roman_Empire }
[]
former country
SYSTEM
YES
(Q179718,P2348,Q2277)
action is_in
entity Q2277
action find
entity Q179718
relation P2348
[ANSWER]
['Q179718', 'P2348', 'Q2277']
ASK WHERE { resource:Q179718 property:P2348 resource:Q2277 }
Yes
action is_in
entity Roman Empire
action find
entity Catherine of Alexandria
relation period
['Catherine of Alexandria', 'period', 'Roman Empire']
ASK WHERE { resource:Catherine_of_Alexandria property:period resource:Roman_Empire }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P1071
Q2424752
USER
Which product has Italy as its location of final assembly ?
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q38 . ?l rdf:type ontology:Q2424752 }
Italy
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:Italy . ?l rdf:type ontology:product }
[]
product
Q17861994
SYSTEM
P.180 Avanti II
Q17861994
(c(Q2424752),P1071,Q38)
action filter_type
action find_reverse
entity Q38
relation P1071
type Q2424752
[ANSWER] has Italy as its location of final assembly
[{'concept': 'Q2424752'}, 'P1071', 'Q38']
SELECT DISTINCT ?l WHERE { ?l property:P1071 resource:Q38 . ?l rdf:type ontology:Q2424752 }
P.180 Avanti II
P.180 Avanti II has Italy as its location of final assembly
P.180 Avanti II
action filter_type
action find_reverse
entity Italy
relation location of final assembly
type product
[{'concept': 'product'}, 'location of final assembly', 'Italy']
SELECT DISTINCT ?l WHERE { ?l property:location_of_final_assembly resource:Italy . ?l rdf:type ontology:product }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P6
Q502895
USER
Who are the heads of the government of Italy ?
(Q38,P6,c(Q502895))
action filter_type
action find
entity Q38
relation P6
type Q502895
['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q38 property:P6 ?t }
Italy
action filter_type
action find
entity Italy
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Italy property:head_of_government ?t }
[]
common name
Q47563 Q674957
SYSTEM
Matteo Renzi, Enrico Letta
Q47563 Q674957
(Q38,P6,c(Q502895))
action filter_type
action find
entity Q38
relation P6
type Q502895
The heads of the government of Italy are between [ANSWERS]
['Q38', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q502895 . resource:Q38 property:P6 ?t }
Matteo Renzi Enrico Letta
The heads of the government of Italy are between Matteo Renzi and Enrico Letta
Matteo Renzi Enrico Letta
action filter_type
action find
entity Italy
relation head of government
type common name
['Italy', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:common_name . resource:Italy property:head_of_government ?t }
[]