Simple Question (Direct)
Simple Question
Q316323
P20
Q56061
USER
Where did the expiration of Dixie Dean occur ?
(Q316323,P20,c(Q56061))
action filter_type
action find
entity Q316323
relation P20
type Q56061
['Q316323', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q316323 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Dixie Dean
action filter_type
action find
entity Dixie Dean
relation place of death
type administrative territorial entity
['Dixie Dean', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Dixie_Dean property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24826
SYSTEM
Liverpool
Q24826
(Q316323,P20,c(Q56061))
action filter_type
action find
entity Q316323
relation P20
type Q56061
The expiration of Dixie Dean occurred in [ANSWER]
['Q316323', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q316323 property:P20 ?k . ?k rdf:type ontology:Q56061 }
Liverpool
The expiration of Dixie Dean occurred in Liverpool
Liverpool
action filter_type
action find
entity Dixie Dean
relation place of death
type administrative territorial entity
['Dixie Dean', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Dixie_Dean property:place_of_death ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q316323
P54
Q1194951
USER
What is Dixie Dean a member of ?
(Q316323,P54,c(Q1194951))
action filter_type
action find
entity Q316323
relation P54
type Q1194951
['Q316323', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1194951 . resource:Q316323 property:P54 ?o }
Dixie Dean
action filter_type
action find
entity Dixie Dean
relation member of sports team
type national sports team
['Dixie Dean', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_sports_team . resource:Dixie_Dean property:member_of_sports_team ?o }
[]
national sports team
Q47762
SYSTEM
England national football team
Q47762
(Q316323,P54,c(Q1194951))
action filter_type
action find
entity Q316323
relation P54
type Q1194951
Dixie Dean a member of is of [ANSWER]
['Q316323', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q1194951 . resource:Q316323 property:P54 ?o }
England national football team
Dixie Dean a member of is of England national football team
England national football team
action filter_type
action find
entity Dixie Dean
relation member of sports team
type national sports team
['Dixie Dean', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:national_sports_team . resource:Dixie_Dean property:member_of_sports_team ?o }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q47762 Q132533
P1344
Q15275719
USER
Did that national sports team participate in 1958 FIFA World Cup ?
(Q47762,P1344,Q132533)
action is_in
entity Q132533
action find
entity Q47762
relation P1344
['Q47762', 'P1344', 'Q132533']
ASK WHERE { resource:Q47762 property:P1344 resource:Q132533 }
England national football team 1958 FIFA World Cup
action is_in
entity 1958 FIFA World Cup
action find
entity England national football team
relation participant of
['England national football team', 'participant of', '1958 FIFA World Cup']
ASK WHERE { resource:England_national_football_team property:participant_of resource:1958_FIFA_World_Cup }
[]
recurring event
SYSTEM
YES
(Q47762,P1344,Q132533)
action is_in
entity Q132533
action find
entity Q47762
relation P1344
[ANSWER]
['Q47762', 'P1344', 'Q132533']
ASK WHERE { resource:Q47762 property:P1344 resource:Q132533 }
Yes
action is_in
entity 1958 FIFA World Cup
action find
entity England national football team
relation participant of
['England national football team', 'participant of', '1958 FIFA World Cup']
ASK WHERE { resource:England_national_football_team property:participant_of resource:1958_FIFA_World_Cup }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q316323 Q145
P27
Q15617994
USER
Is Dixie Dean a civilian of United Kingdom ?
(Q316323,P27,Q145)
action is_in
entity Q145
action find
entity Q316323
relation P27
['Q316323', 'P27', 'Q145']
ASK WHERE { resource:Q316323 property:P27 resource:Q145 }
Dixie Dean United Kingdom
action is_in
entity United Kingdom
action find
entity Dixie Dean
relation country of citizenship
['Dixie Dean', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Dixie_Dean property:country_of_citizenship resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q316323,P27,Q145)
action is_in
entity Q145
action find
entity Q316323
relation P27
[ANSWER]
['Q316323', 'P27', 'Q145']
ASK WHERE { resource:Q316323 property:P27 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity Dixie Dean
relation country of citizenship
['Dixie Dean', 'country of citizenship', 'United Kingdom']
ASK WHERE { resource:Dixie_Dean property:country_of_citizenship resource:United_Kingdom }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q24826 Q5730382
P190
Q56061
USER
Is Estakhr Sar, Sari sister town of Liverpool ?
(Q24826,P190,Q5730382)
action is_in
entity Q5730382
action find
entity Q24826
relation P190
['Q24826', 'P190', 'Q5730382']
ASK WHERE { resource:Q24826 property:P190 resource:Q5730382 }
Liverpool Estakhr Sar, Sari
action is_in
entity Estakhr Sar, Sari
action find
entity Liverpool
relation sister city
['Liverpool', 'sister city', 'Estakhr Sar, Sari']
ASK WHERE { resource:Liverpool property:sister_city resource:Estakhr_Sar,_Sari }
[]
administrative territorial entity
SYSTEM
NO
(Q24826,P190,Q5730382)
action is_in
entity Q5730382
action find
entity Q24826
relation P190
[ANSWER]
['Q24826', 'P190', 'Q5730382']
ASK WHERE { resource:Q24826 property:P190 resource:Q5730382 }
No
action is_in
entity Estakhr Sar, Sari
action find
entity Liverpool
relation sister city
['Liverpool', 'sister city', 'Estakhr Sar, Sari']
ASK WHERE { resource:Liverpool property:sister_city resource:Estakhr_Sar,_Sari }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q24826
P17
Q15617994
USER
Which administrative territory does Liverpool belong to ?
action filter_type
action find
entity Q24826
relation P17
type Q15617994
SELECT DISTINCT ?j WHERE { resource:Q24826 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Liverpool
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Liverpool property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
action filter_type
action find
entity Q24826
relation P17
type Q15617994
Liverpool belongs to [ANSWER]
SELECT DISTINCT ?j WHERE { resource:Q24826 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
United Kingdom
Liverpool belongs to United Kingdom
United Kingdom
action filter_type
action find
entity Liverpool
relation country
type designation for an administrative territorial entity
SELECT DISTINCT ?j WHERE { resource:Liverpool property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q24826
P609
Q83620
USER
Which thoroughfare has that administrative territory as its destination ?
(c(Q83620),P609,Q145)
action filter_type
action find_reverse
entity Q24826
relation P609
type Q83620
[{'concept': 'Q83620'}, 'P609', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P609 resource:Q24826 . ?t rdf:type ontology:Q83620 }
Liverpool
action filter_type
action find_reverse
entity Liverpool
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:terminus_location resource:Liverpool . ?t rdf:type ontology:thoroughfare }
[]
thoroughfare
Q16896879
SYSTEM
National Cycle Route 56
Q16896879
(c(Q83620),P609,Q145)
action filter_type
action find_reverse
entity Q24826
relation P609
type Q83620
[ANSWER] has that administrative territory as its destination
[{'concept': 'Q83620'}, 'P609', 'Q145']
SELECT DISTINCT ?t WHERE { ?t property:P609 resource:Q24826 . ?t rdf:type ontology:Q83620 }
National Cycle Route 56
National Cycle Route 56 has that administrative territory as its destination
National Cycle Route 56
action filter_type
action find_reverse
entity Liverpool
relation terminus location
type thoroughfare
[{'concept': 'thoroughfare'}, 'terminus location', 'United Kingdom']
SELECT DISTINCT ?t WHERE { ?t property:terminus_location resource:Liverpool . ?t rdf:type ontology:thoroughfare }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q16896879 Q145
P17
Q15617994
USER
Does that thoroughfare belong to United Kingdom ?
(Q16896879,P17,Q145)
action is_in
entity Q145
action find
entity Q16896879
relation P17
['Q16896879', 'P17', 'Q145']
ASK WHERE { resource:Q16896879 property:P17 resource:Q145 }
National Cycle Route 56 United Kingdom
action is_in
entity United Kingdom
action find
entity National Cycle Route 56
relation country
['National Cycle Route 56', 'country', 'United Kingdom']
ASK WHERE { resource:National_Cycle_Route_56 property:country resource:United_Kingdom }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q16896879,P17,Q145)
action is_in
entity Q145
action find
entity Q16896879
relation P17
[ANSWER]
['Q16896879', 'P17', 'Q145']
ASK WHERE { resource:Q16896879 property:P17 resource:Q145 }
Yes
action is_in
entity United Kingdom
action find
entity National Cycle Route 56
relation country
['National Cycle Route 56', 'country', 'United Kingdom']
ASK WHERE { resource:National_Cycle_Route_56 property:country resource:United_Kingdom }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P669
Q83620 Q41176
USER
How many buildings have their location as around 1 thoroughfare ?
(c(Q41176),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q41176
type Q83620
value 1
[{'concept': 'Q41176'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?r ) WHERE { ?p property:P669 ?t . ?p rdf:type ontology:Q41176 . ?t rdf:type ontology:Q83620 } GROUP BY ?p } }
action count
action approx
action find_tuple_counts
relation located on street
type building
type thoroughfare
value 1
[{'concept': 'building'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?r ) WHERE { ?p property:located_on_street ?t . ?p rdf:type ontology:building . ?t rdf:type ontology:thoroughfare } GROUP BY ?p } }
[]
thoroughfare building
SYSTEM
42
Q3061525 Q17549419 Q19348193 Q2494434 Q21088678 Q18536 Q355319 Q19348179 Q21884142 Q19348175 Q19348172 Q1075988 Q1469315 Q19348186 Q19348183 Q6747495 Q4640138 Q1628509 Q3268721 Q7989344 Q165506 Q27464902 Q19348163 Q19348166 Q19348168 Q21309069 Q2866891 Q4592132 Q20220105 Q3268841 Q15640791 Q15813024 Q20087094 Q3109593 Q23701436 Q19348204 Q19348201 Q23892233 Q27161386 Q10728163 Q212834 Q20220114
(c(Q41176),P669,c(Q83620))
action count
action approx
action find_tuple_counts
relation P669
type Q41176
type Q83620
value 1
[ANSWER]
[{'concept': 'Q41176'}, 'P669', {'concept': 'Q83620'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?r ) WHERE { ?p property:P669 ?t . ?p rdf:type ontology:Q41176 . ?t rdf:type ontology:Q83620 } GROUP BY ?p } }
Everyman Theatre 37, Harley Street W1 26, place Dauphine Unilever House 20 Fenchurch Street The Shard Adelphi Theatre 17, place Dauphine palais universitaire de Rennes 16, place Dauphine 15, place Dauphine Louvre Palace Théâtre du Châtelet 24, place Dauphine 23, place Dauphine Manchester Royal Eye Hospital 52-54 Lime Street Royal Hospital Chelsea Lycée Hélène-Boucher Weston's Music Hall 101 Collins Street Fundação Fernando Leite Couto 12, place Dauphine 13, place Dauphine 14, place Dauphine Palestra Council House 2 Palace Theatre Union House Lycée Maurice-Ravel Teatro Circo de Rivas Poppelsdorfer Allee 49 Jurong Town Hall Willis Building Event Cinemas George Street 31, place Dauphine 29, place Dauphine 1601 Massachusetts Avenue, N.W., Washington, D.C. Apollo Theatre Östervång school 20 Fenchurch Street Cyril Le Marquand House
42
action count
action approx
action find_tuple_counts
relation located on street
type building
type thoroughfare
value 1
[{'concept': 'building'}, 'located on street', {'concept': 'thoroughfare'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?y ) WHERE { FILTER ( ?r = 1 ) . { SELECT DISTINCT ?p ( COUNT ( ?t ) AS ?r ) WHERE { ?p property:located_on_street ?t . ?p rdf:type ontology:building . ?t rdf:type ontology:thoroughfare } GROUP BY ?p } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q811430 Q811979 Q83620
USER
Which thoroughfares have around 1 constructions or architectural structures as the terminus ?
(c(Q83620),P559,c(Q811430)|c(Q811979))
action approx
action union
action find_tuple_counts
relation P559
type Q83620
type Q811430
action find_tuple_counts
relation P559
type Q83620
type Q811979
value 1
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q811430'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?c WHERE { { ?c property:P559 ?h . ?h rdf:type ontology:Q811430 . ?c rdf:type ontology:Q83620 } UNION { ?c rdf:type ontology:Q83620 . ?h rdf:type ontology:Q811979 . ?c property:P559 ?h } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
action approx
action union
action find_tuple_counts
relation terminus
type thoroughfare
type construction
action find_tuple_counts
relation terminus
type thoroughfare
type architectural structure
value 1
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'construction'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?c WHERE { { ?c property:terminus ?h . ?h rdf:type ontology:construction . ?c rdf:type ontology:thoroughfare } UNION { ?c rdf:type ontology:thoroughfare . ?h rdf:type ontology:architectural_structure . ?c property:terminus ?h } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
construction architectural structure thoroughfare
Q2663638 Q17451862 Q17865123
SYSTEM
Brighton Main Line, Trollebergsvägen, Shepperton Road
Q2663638 Q17451862 Q11092663 Q17865123 Q5139684 Q11065233
(c(Q83620),P559,c(Q811430)|c(Q811979))
action approx
action union
action find_tuple_counts
relation P559
type Q83620
type Q811430
action find_tuple_counts
relation P559
type Q83620
type Q811979
value 1
[ANSWERS] have around 1 constructions or architectural structures as the terminus
[{'concept': 'Q83620'}, 'P559', [{'concept': 'Q811430'}, {'concept': 'Q811979'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?c WHERE { { ?c property:P559 ?h . ?h rdf:type ontology:Q811430 . ?c rdf:type ontology:Q83620 } UNION { ?c rdf:type ontology:Q83620 . ?h rdf:type ontology:Q811979 . ?c property:P559 ?h } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
Brighton Main Line Trollebergsvägen Chaoyang Road Shepperton Road Cockspur Street Jianguo Road
Brighton Main Line, Trollebergsvägen and Shepperton Road have around 1 constructions or architectural structures as the terminus
Brighton Main Line Trollebergsvägen Shepperton Road
action approx
action union
action find_tuple_counts
relation terminus
type thoroughfare
type construction
action find_tuple_counts
relation terminus
type thoroughfare
type architectural structure
value 1
[{'concept': 'thoroughfare'}, 'terminus', [{'concept': 'construction'}, {'concept': 'architectural structure'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) ?c WHERE { { ?c property:terminus ?h . ?h rdf:type ontology:construction . ?c rdf:type ontology:thoroughfare } UNION { ?c rdf:type ontology:thoroughfare . ?h rdf:type ontology:architectural_structure . ?c property:terminus ?h } } GROUP BY ?c } . FILTER ( ?q = 1 ) }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P559
Q83620 Q811979
USER
How many thoroughfares or architectural structures are the terminus for that thoroughfare ?
(Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979)) (Q2663638,P559,c(Q83620)) (Q2663638,P559,c(Q811979)) (Q17451862,P559,c(Q83620)) (Q17451862,P559,c(Q811979)) (Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979))
['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}] ['Q2663638', 'P559', {'concept': 'Q83620'}] ['Q2663638', 'P559', {'concept': 'Q811979'}] ['Q17451862', 'P559', {'concept': 'Q83620'}] ['Q17451862', 'P559', {'concept': 'Q811979'}] ['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } UNION { resource:Q2663638 property:Q20202072 ?z } UNION { resource:Q2663638 property:Q20202072 ?y } UNION { resource:Q17451862 property:Q20202072 ?z } UNION { resource:Q17451862 property:Q20202072 ?y } UNION { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q811979 }
['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}] ['Brighton Main Line', 'terminus', {'concept': 'thoroughfare'}] ['Brighton Main Line', 'terminus', {'concept': 'architectural structure'}] ['Trollebergsvägen', 'terminus', {'concept': 'thoroughfare'}] ['Trollebergsvägen', 'terminus', {'concept': 'architectural structure'}] ['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } UNION { resource:Brighton_Main_Line property:terminus ?z } UNION { resource:Brighton_Main_Line property:terminus ?y } UNION { resource:Trollebergsvägen property:terminus ?z } UNION { resource:Trollebergsvägen property:terminus ?y } UNION { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:architectural_structure }
[]
thoroughfare architectural structure
Quantitative|Count|Mult. entity type|Clarification
Q2663638
SYSTEM
Did you mean Brighton Main Line ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } UNION { resource:Q2663638 property:Q20202072 ?z } UNION { resource:Q2663638 property:Q20202072 ?y } UNION { resource:Q17451862 property:Q20202072 ?z } UNION { resource:Q17451862 property:Q20202072 ?y } UNION { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q811979 }
Did you mean Brighton Main Line ?
Brighton Main Line
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } UNION { resource:Brighton_Main_Line property:terminus ?z } UNION { resource:Brighton_Main_Line property:terminus ?y } UNION { resource:Trollebergsvägen property:terminus ?z } UNION { resource:Trollebergsvägen property:terminus ?y } UNION { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:architectural_structure }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Shepperton Road. Could you tell me the answer for that?
(Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979)) (Q2663638,P559,c(Q83620)) (Q2663638,P559,c(Q811979)) (Q17451862,P559,c(Q83620)) (Q17451862,P559,c(Q811979)) (Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979))
Q17865123
['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}] ['Q2663638', 'P559', {'concept': 'Q83620'}] ['Q2663638', 'P559', {'concept': 'Q811979'}] ['Q17451862', 'P559', {'concept': 'Q83620'}] ['Q17451862', 'P559', {'concept': 'Q811979'}] ['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}]
['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}] ['Brighton Main Line', 'terminus', {'concept': 'thoroughfare'}] ['Brighton Main Line', 'terminus', {'concept': 'architectural structure'}] ['Trollebergsvägen', 'terminus', {'concept': 'thoroughfare'}] ['Trollebergsvägen', 'terminus', {'concept': 'architectural structure'}] ['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}]
[]
SYSTEM
2
Q7721758 Q2603399
(Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979)) (Q2663638,P559,c(Q83620)) (Q2663638,P559,c(Q811979)) (Q17451862,P559,c(Q83620)) (Q17451862,P559,c(Q811979)) (Q17865123,P559,c(Q83620)) (Q17865123,P559,c(Q811979))
[ANSWER]
['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}] ['Q2663638', 'P559', {'concept': 'Q83620'}] ['Q2663638', 'P559', {'concept': 'Q811979'}] ['Q17451862', 'P559', {'concept': 'Q83620'}] ['Q17451862', 'P559', {'concept': 'Q811979'}] ['Q17865123', 'P559', {'concept': 'Q83620'}] ['Q17865123', 'P559', {'concept': 'Q811979'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } UNION { resource:Q2663638 property:Q20202072 ?z } UNION { resource:Q2663638 property:Q20202072 ?y } UNION { resource:Q17451862 property:Q20202072 ?z } UNION { resource:Q17451862 property:Q20202072 ?y } UNION { resource:Q17865123 property:Q20202072 ?z } UNION { resource:Q17865123 property:Q20202072 ?y } } . ?z rdf:type ontology:Q83620 . ?y rdf:type ontology:Q811979 }
The Causeway Albany Highway
2
['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}] ['Brighton Main Line', 'terminus', {'concept': 'thoroughfare'}] ['Brighton Main Line', 'terminus', {'concept': 'architectural structure'}] ['Trollebergsvägen', 'terminus', {'concept': 'thoroughfare'}] ['Trollebergsvägen', 'terminus', {'concept': 'architectural structure'}] ['Shepperton Road', 'terminus', {'concept': 'thoroughfare'}] ['Shepperton Road', 'terminus', {'concept': 'architectural structure'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } UNION { resource:Brighton_Main_Line property:terminus ?z } UNION { resource:Brighton_Main_Line property:terminus ?y } UNION { resource:Trollebergsvägen property:terminus ?z } UNION { resource:Trollebergsvägen property:terminus ?y } UNION { resource:Shepperton_Road property:terminus ?z } UNION { resource:Shepperton_Road property:terminus ?y } } . ?z rdf:type ontology:thoroughfare . ?y rdf:type ontology:architectural_structure }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q122294 Q47762
P1344
Q15275719
USER
Which recurring events did England national football team or Angelo Di Livio participate in ?
OR((Q47762,P1344,c(Q15275719)), (Q122294,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q47762
relation P1344
action find
entity Q122294
relation P1344
type Q15275719
{'OR': [['Q47762', 'P1344', {'concept': 'Q15275719'}], ['Q122294', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q47762 property:P1344 ?y } UNION { resource:Q122294 property:P1344 ?y } } . ?y rdf:type ontology:Q15275719 }
Angelo Di Livio England national football team
action filter_type
action union
action find
entity England national football team
relation participant of
action find
entity Angelo Di Livio
relation participant of
type recurring event
{'OR': [['England national football team', 'participant of', {'concept': 'recurring event'}], ['Angelo Di Livio', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?y WHERE { { { resource:England_national_football_team property:participant_of ?y } UNION { resource:Angelo_Di_Livio property:participant_of ?y } } . ?y rdf:type ontology:recurring_event }
[]
recurring event
Q131075 Q132664 Q132515 Q101730 Q47735 Q46934 Q46938 Q79859 Q132529 Q160813
SYSTEM
Some of them are 1954 FIFA World Cup, 1970 FIFA World Cup, 1950 FIFA World Cup, 1998 FIFA World Cup, 2002 FIFA World Cup, 1982 FIFA World Cup, 1986 FIFA World Cup, 2014 FIFA World Cup, 1990 FIFA World Cup, 1962 FIFA World Cup
Q132533 Q176883 Q37285 Q132515 Q132664 Q134202 Q132529 Q47735 Q46938 Q131075 Q160813 Q46934 Q101730 Q79859
OR((Q47762,P1344,c(Q15275719)), (Q122294,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q47762
relation P1344
action find
entity Q122294
relation P1344
type Q15275719
England national football team or Angelo Di Livio participated in [ANSWERS]
{'OR': [['Q47762', 'P1344', {'concept': 'Q15275719'}], ['Q122294', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q47762 property:P1344 ?y } UNION { resource:Q122294 property:P1344 ?y } } . ?y rdf:type ontology:Q15275719 }
1958 FIFA World Cup 2010 FIFA World Cup 2006 FIFA World Cup 1950 FIFA World Cup 1970 FIFA World Cup 1966 FIFA World Cup 1990 FIFA World Cup 2002 FIFA World Cup 1986 FIFA World Cup 1954 FIFA World Cup 1962 FIFA World Cup 1982 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup
England national football team or Angelo Di Livio participated in 1954 FIFA World Cup, 1970 FIFA World Cup, 1950 FIFA World Cup, 1998 FIFA World Cup, 2002 FIFA World Cup, 1982 FIFA World Cup, 1986 FIFA World Cup, 2014 FIFA World Cup, 1990 FIFA World Cup and 1962 FIFA World Cup
1954 FIFA World Cup 1970 FIFA World Cup 1950 FIFA World Cup 1998 FIFA World Cup 2002 FIFA World Cup 1982 FIFA World Cup 1986 FIFA World Cup 2014 FIFA World Cup 1990 FIFA World Cup 1962 FIFA World Cup
action filter_type
action union
action find
entity England national football team
relation participant of
action find
entity Angelo Di Livio
relation participant of
type recurring event
{'OR': [['England national football team', 'participant of', {'concept': 'recurring event'}], ['Angelo Di Livio', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?y WHERE { { { resource:England_national_football_team property:participant_of ?y } UNION { resource:Angelo_Di_Livio property:participant_of ?y } } . ?y rdf:type ontology:recurring_event }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17354166
P1344
Q1194951
USER
Did Team 2006 competite in those recurring events ?
(Q17354166,P1344,Q131075) (Q17354166,P1344,Q132664) (Q17354166,P1344,Q132515) (Q17354166,P1344,Q101730) (Q17354166,P1344,Q47735) (Q17354166,P1344,Q46934) (Q17354166,P1344,Q46938) (Q17354166,P1344,Q79859) (Q17354166,P1344,Q132529) (Q17354166,P1344,Q160813)
action is_in
entity prev_answer
action find
entity Q17354166
relation P1344
['Q17354166', 'P1344', 'Q131075'] ['Q17354166', 'P1344', 'Q132664'] ['Q17354166', 'P1344', 'Q132515'] ['Q17354166', 'P1344', 'Q101730'] ['Q17354166', 'P1344', 'Q47735'] ['Q17354166', 'P1344', 'Q46934'] ['Q17354166', 'P1344', 'Q46938'] ['Q17354166', 'P1344', 'Q79859'] ['Q17354166', 'P1344', 'Q132529'] ['Q17354166', 'P1344', 'Q160813']
ASK WHERE { VALUES ( ?d ) { ( resource:Q132533 ) ( resource:Q176883 ) ( resource:Q37285 ) } . resource:Q17354166 property:P1344 ?d }
Team 2006
action is_in
entity prev_answer
action find
entity Team 2006
relation participant of
['Team 2006', 'participant of', '1954 FIFA World Cup'] ['Team 2006', 'participant of', '1970 FIFA World Cup'] ['Team 2006', 'participant of', '1950 FIFA World Cup'] ['Team 2006', 'participant of', '1998 FIFA World Cup'] ['Team 2006', 'participant of', '2002 FIFA World Cup'] ['Team 2006', 'participant of', '1982 FIFA World Cup'] ['Team 2006', 'participant of', '1986 FIFA World Cup'] ['Team 2006', 'participant of', '2014 FIFA World Cup'] ['Team 2006', 'participant of', '1990 FIFA World Cup'] ['Team 2006', 'participant of', '1962 FIFA World Cup']
ASK WHERE { VALUES ( ?d ) { ( resource:1958_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) } . resource:Team_2006 property:participant_of ?d }
[]
national sports team
SYSTEM
NO
(Q17354166,P1344,Q131075) (Q17354166,P1344,Q132664) (Q17354166,P1344,Q132515) (Q17354166,P1344,Q101730) (Q17354166,P1344,Q47735) (Q17354166,P1344,Q46934) (Q17354166,P1344,Q46938) (Q17354166,P1344,Q79859) (Q17354166,P1344,Q132529) (Q17354166,P1344,Q160813)
action is_in
entity prev_answer
action find
entity Q17354166
relation P1344
[ANSWER]
['Q17354166', 'P1344', 'Q131075'] ['Q17354166', 'P1344', 'Q132664'] ['Q17354166', 'P1344', 'Q132515'] ['Q17354166', 'P1344', 'Q101730'] ['Q17354166', 'P1344', 'Q47735'] ['Q17354166', 'P1344', 'Q46934'] ['Q17354166', 'P1344', 'Q46938'] ['Q17354166', 'P1344', 'Q79859'] ['Q17354166', 'P1344', 'Q132529'] ['Q17354166', 'P1344', 'Q160813']
ASK WHERE { VALUES ( ?d ) { ( resource:Q132533 ) ( resource:Q176883 ) ( resource:Q37285 ) } . resource:Q17354166 property:P1344 ?d }
No
action is_in
entity prev_answer
action find
entity Team 2006
relation participant of
['Team 2006', 'participant of', '1954 FIFA World Cup'] ['Team 2006', 'participant of', '1970 FIFA World Cup'] ['Team 2006', 'participant of', '1950 FIFA World Cup'] ['Team 2006', 'participant of', '1998 FIFA World Cup'] ['Team 2006', 'participant of', '2002 FIFA World Cup'] ['Team 2006', 'participant of', '1982 FIFA World Cup'] ['Team 2006', 'participant of', '1986 FIFA World Cup'] ['Team 2006', 'participant of', '2014 FIFA World Cup'] ['Team 2006', 'participant of', '1990 FIFA World Cup'] ['Team 2006', 'participant of', '1962 FIFA World Cup']
ASK WHERE { VALUES ( ?d ) { ( resource:1958_FIFA_World_Cup ) ( resource:2010_FIFA_World_Cup ) ( resource:2006_FIFA_World_Cup ) } . resource:Team_2006 property:participant_of ?d }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have diplomatic relationships with atleast 11 political territories or administrative territories ?
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?s } . FILTER ( ?d >= 11 ) }
action count
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?s } . FILTER ( ?d >= 11 ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
14
Q801 Q805 Q142 Q145 Q148 Q403 Q159 Q43 Q155 Q30 Q38 Q17 Q79 Q1011
(c(Q1048835)|c(Q15617994),P530,c(Q15617994))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 11
[ANSWER]
[[{'concept': 'Q1048835'}, {'concept': 'Q15617994'}], 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } } GROUP BY ?s } . FILTER ( ?d >= 11 ) }
Israel Yemen France United Kingdom People's Republic of China Serbia Russia Turkey Brazil United States of America Italy Japan Egypt Cape Verde
14
action count
action atleast
action union
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 11
[[{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}], 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?d ) WHERE { ?n rdf:type ?b . VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } } GROUP BY ?s } . FILTER ( ?d >= 11 ) }
[]