Simple Question (Direct)
Simple Question
Q1171968
P641
Q349
USER
Which sport was Fausto Landini a part of ?
(Q1171968,P641,c(Q349))
action filter_type
action find
entity Q1171968
relation P641
type Q349
['Q1171968', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1171968 property:P641 ?v . ?v rdf:type ontology:Q349 }
Fausto Landini
action filter_type
action find
entity Fausto Landini
relation sport
type sport
['Fausto Landini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Fausto_Landini property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1171968,P641,c(Q349))
action filter_type
action find
entity Q1171968
relation P641
type Q349
Fausto Landini was in [ANSWER]
['Q1171968', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q1171968 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
Fausto Landini was in association football
association football
action filter_type
action find
entity Fausto Landini
relation sport
type sport
['Fausto Landini', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:Fausto_Landini property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1171968
P27
Q15617994
USER
Which administrative territory is the native country of Fausto Landini ?
(Q1171968,P27,c(Q15617994))
action filter_type
action find
entity Q1171968
relation P27
type Q15617994
['Q1171968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1171968 property:P27 ?x }
Fausto Landini
action filter_type
action find
entity Fausto Landini
relation country of citizenship
type designation for an administrative territorial entity
['Fausto Landini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fausto_Landini property:country_of_citizenship ?x }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q1171968,P27,c(Q15617994))
action filter_type
action find
entity Q1171968
relation P27
type Q15617994
The [ANSWER] is the native country of Fausto Landini
['Q1171968', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q15617994 . resource:Q1171968 property:P27 ?x }
Italy
The Italy is the native country of Fausto Landini
Italy
action filter_type
action find
entity Fausto Landini
relation country of citizenship
type designation for an administrative territorial entity
['Fausto Landini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Fausto_Landini property:country_of_citizenship ?x }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5487082
Q15617994
USER
And how about Frank Hamilton?
(Q5487082,P27,c(Q15617994))
action filter_type
action find
entity Q5487082
relation P27
type Q15617994
['Q5487082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5487082 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Frank Hamilton
action filter_type
action find
entity Frank Hamilton
relation country of citizenship
type designation for an administrative territorial entity
['Frank Hamilton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Frank_Hamilton property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5487082,P27,c(Q15617994))
action filter_type
action find
entity Q5487082
relation P27
type Q15617994
[ANSWER]
['Q5487082', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5487082 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom
action filter_type
action find
entity Frank Hamilton
relation country of citizenship
type designation for an administrative territorial entity
['Frank Hamilton', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Frank_Hamilton property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5487082
P106
Q12737077
USER
What do Frank Hamilton do for a living ?
(Q5487082,P106,c(Q12737077))
action filter_type
action find
entity Q5487082
relation P106
type Q12737077
['Q5487082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q5487082 property:P106 ?i }
Frank Hamilton
action filter_type
action find
entity Frank Hamilton
relation occupation
type occupation
['Frank Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Frank_Hamilton property:occupation ?i }
[]
occupation
Q183945 Q488205
SYSTEM
record producer, singer-songwriter
Q183945 Q488205
(Q5487082,P106,c(Q12737077))
action filter_type
action find
entity Q5487082
relation P106
type Q12737077
Frank Hamilton do for a living as [ANSWERS]
['Q5487082', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q12737077 . resource:Q5487082 property:P106 ?i }
record producer singer-songwriter
Frank Hamilton do for a living as record producer and singer-songwriter
record producer singer-songwriter
action filter_type
action find
entity Frank Hamilton
relation occupation
type occupation
['Frank Hamilton', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:occupation . resource:Frank_Hamilton property:occupation ?i }
[]
Clarification
Simple Question|Single Entity|Indirect
Q183945
P425
Q8148
USER
Which industry has that one as the associated field of occupation ?
(Q183945,P425,c(Q8148))
action filter_type
action find
entity Q183945
relation P425
type Q8148
['Q183945', 'P425', {'concept': 'Q8148'}]
SELECT DISTINCT ?h WHERE { resource:Q183945 property:P425 ?h . ?h rdf:type ontology:Q8148 }
record producer
action filter_type
action find
entity record producer
relation field of this occupation
type industry
['record producer', 'field of this occupation', {'concept': 'industry'}]
SELECT DISTINCT ?h WHERE { resource:record_producer property:field_of_this_occupation ?h . ?h rdf:type ontology:industry }
[]
industry
Clarification for simple ques.
Q183945
SYSTEM
Did you mean record producer ?
Q183945 Q488205
(Q183945,P425,c(Q8148)) (Q488205,P425,c(Q8148))
[ANSWER]
['Q183945', 'P425', {'concept': 'Q8148'}] ['Q488205', 'P425', {'concept': 'Q8148'}]
SELECT DISTINCT ?h WHERE { resource:Q183945 property:P425 ?h . ?h rdf:type ontology:Q8148 }
record producer singer-songwriter
Did you mean record producer ?
record producer
['record producer', 'field of this occupation', {'concept': 'industry'}] ['singer-songwriter', 'field of this occupation', {'concept': 'industry'}]
SELECT DISTINCT ?h WHERE { resource:record_producer property:field_of_this_occupation ?h . ?h rdf:type ontology:industry }
[]
Simple Question (Coreferenced)
USER
Yes
(Q183945,P425,c(Q8148))
['Q183945', 'P425', {'concept': 'Q8148'}]
['record producer', 'field of this occupation', {'concept': 'industry'}]
[]
Q959049
SYSTEM
music production
Q959049
(Q183945,P425,c(Q8148))
action filter_type
action find
entity Q183945
relation P425
type Q8148
The [ANSWER] has that one as the associated field of occupation
['Q183945', 'P425', {'concept': 'Q8148'}]
SELECT DISTINCT ?h WHERE { resource:Q183945 property:P425 ?h . ?h rdf:type ontology:Q8148 }
music production
The music production has that one as the associated field of occupation
music production
action filter_type
action find
entity record producer
relation field of this occupation
type industry
['record producer', 'field of this occupation', {'concept': 'industry'}]
SELECT DISTINCT ?h WHERE { resource:record_producer property:field_of_this_occupation ?h . ?h rdf:type ontology:industry }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q959049 Q7241523
P425
Q12737077
USER
Does that industry belong to Presiding Patriarch ?
(Q7241523,P425,Q959049)
action is_in
entity Q7241523
action find
entity Q959049
relation P425
['Q7241523', 'P425', 'Q959049']
ASK WHERE { resource:Q959049 property:P425 resource:Q7241523 }
music production Presiding Patriarch
action is_in
entity Presiding Patriarch
action find
entity music production
relation field of this occupation
['Presiding Patriarch', 'field of this occupation', 'music production']
ASK WHERE { resource:music_production property:field_of_this_occupation resource:Presiding_Patriarch }
[]
occupation
SYSTEM
NO
(Q7241523,P425,Q959049)
action is_in
entity Q7241523
action find
entity Q959049
relation P425
[ANSWER]
['Q7241523', 'P425', 'Q959049']
ASK WHERE { resource:Q959049 property:P425 resource:Q7241523 }
No
action is_in
entity Presiding Patriarch
action find
entity music production
relation field of this occupation
['Presiding Patriarch', 'field of this occupation', 'music production']
ASK WHERE { resource:music_production property:field_of_this_occupation resource:Presiding_Patriarch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q959049
P452
Q58778
USER
Which system is the industry to which that one belongs ?
action filter_type
action find
entity Q959049
relation P452
type Q58778
SELECT DISTINCT ?w WHERE { resource:Q959049 property:P452 ?w . ?w rdf:type ontology:Q58778 }
music production
action filter_type
action find
entity music production
relation industry
type system
SELECT DISTINCT ?w WHERE { resource:music_production property:industry ?w . ?w rdf:type ontology:system }
[]
system
Q746359
SYSTEM
music industry
Q746359
action filter_type
action find
entity Q959049
relation P452
type Q58778
[ANSWER] is the industry to which that one belongs
SELECT DISTINCT ?w WHERE { resource:Q959049 property:P452 ?w . ?w rdf:type ontology:Q58778 }
music industry
Music industry is the industry to which that one belongs
music industry
action filter_type
action find
entity music production
relation industry
type system
SELECT DISTINCT ?w WHERE { resource:music_production property:industry ?w . ?w rdf:type ontology:system }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15617994 Q2342494 Q3305213
USER
How many administrative territories are demonstrated in atmost 2 collectables or paintings ?
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
value 2
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q3305213 } UNION { ?o property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?r <= 2 ) }
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
value 2
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:painting } UNION { ?o property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?r <= 2 ) }
[]
designation for an administrative territorial entity collectable painting
SYSTEM
94
Q3883 Q1256 Q1462 Q241744 Q674904 Q668 Q142 Q55 Q145 Q47505 Q148 Q128081 Q131596 Q712 Q711 Q243467 Q72672 Q1460 Q660687 Q159 Q41 Q155 Q794 Q160262 Q243128 Q739 Q254356 Q15260970 Q822 Q532 Q11343 Q268214 Q13376 Q12594 Q34 Q928 Q39 Q38 Q858 Q199952 Q854 Q736 Q1280 Q1282 Q20 Q27 Q188315 Q29 Q7077 Q80644 Q189 Q1028 Q47821 Q12574 Q12578 Q223 Q12675 Q229 Q17 Q553347 Q551142 Q652480 Q111144 Q298 Q13320 Q186115 Q373189 Q159605 Q72425 Q12657 Q1438 Q26300792 Q183366 Q6256 Q79 Q72432 Q811 Q772 Q82025 Q1016 Q1273 Q1011 Q913434 Q242683 Q80563 Q376896 Q34876 Q689720 Q33788 Q12563 Q190963 Q80591 Q42288 Q1034158
(c(Q2342494)|c(Q3305213),P180,c(Q15617994))
action count
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q15617994
type Q3305213
value 2
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q3305213 } UNION { ?o property:P180 ?z . ?z rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q2342494 } } GROUP BY ?z } . FILTER ( ?r <= 2 ) }
Catanzaro Liguria Sardinia Ariccia Krumau am Kamp India France Netherlands United Kingdom Dolo People's Republic of China Cori, Lazio farm Fiji Mongolia Subiaco Sorrento Sicily Velden am Wörther See Russia Greece Brazil Iran Caprarola Olevano Romano Colombia Murnau am Staffelsee Nantcribba Lebanon village Wetter (Ruhr) Bordighera Pistoia Marne Sweden Philippines Switzerland Italy Syria Taormina Sri Lanka Ecuador Umbria Lazio Norway Ireland Porto Venere Spain Dachau Köngen Iceland Morocco Malcesine Loiret Lot-et-Garonne Greenland Oise Cyprus Japan Kobern-Gondorf Wartenberg Kennemerland Canossa Chile Savona Montmartre Bithynia Tivoli Pozzuoli Nièvre Campania Rhos Y Madoc territory country Egypt Procida Nicaragua Drenthe horn Libya Tuscany Cape Verde Les Halles Genzano di Roma Amalfi Grenelle province Thörl New Caledonia Landes Frascati Atrani Asola Cap Norfeu
94
action count
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation depicts
type designation for an administrative territorial entity
type painting
value 2
[[{'concept': 'collectable'}, {'concept': 'painting'}], 'depicts', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:painting } UNION { ?o property:depicts ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:collectable } } GROUP BY ?z } . FILTER ( ?r <= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P101
Q502895
USER
Who works in the domain of United Kingdom ?
(c(Q502895),P101,Q145)
action filter_type
action find_reverse
entity Q145
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q145 . ?r rdf:type ontology:Q502895 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:United_Kingdom . ?r rdf:type ontology:common_name }
[]
common name
Q10771229
SYSTEM
Alexander Tomský
Q10771229
(c(Q502895),P101,Q145)
action filter_type
action find_reverse
entity Q145
relation P101
type Q502895
[ANSWER] works in the domain of United Kingdom
[{'concept': 'Q502895'}, 'P101', 'Q145']
SELECT DISTINCT ?r WHERE { ?r property:P101 resource:Q145 . ?r rdf:type ontology:Q502895 }
Alexander Tomský
Alexander Tomský works in the domain of United Kingdom
Alexander Tomský
action filter_type
action find_reverse
entity United Kingdom
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'United Kingdom']
SELECT DISTINCT ?r WHERE { ?r property:field_of_work resource:United_Kingdom . ?r rdf:type ontology:common_name }
[]