Simple Question (Direct)
Simple Question
Q2207868
P734
Q82799
USER
Who is associated with F.J. Billeskov Jansen ?
(Q2207868,P734,c(Q82799))
action filter_type
action find
entity Q2207868
relation P734
type Q82799
['Q2207868', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q2207868 property:P734 ?l . ?l rdf:type ontology:Q82799 }
F.J. Billeskov Jansen
action filter_type
action find
entity F.J. Billeskov Jansen
relation family name
type name
['F.J. Billeskov Jansen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:F.J._Billeskov_Jansen property:family_name ?l . ?l rdf:type ontology:name }
[]
name
Q2733656
SYSTEM
Jansen
Q2733656
(Q2207868,P734,c(Q82799))
action filter_type
action find
entity Q2207868
relation P734
type Q82799
[ANSWER] is associated with F.J. Billeskov [ANSWER]
['Q2207868', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?l WHERE { resource:Q2207868 property:P734 ?l . ?l rdf:type ontology:Q82799 }
Jansen
Jansen is associated with F.J. Billeskov Jansen
Jansen
action filter_type
action find
entity F.J. Billeskov Jansen
relation family name
type name
['F.J. Billeskov Jansen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?l WHERE { resource:F.J._Billeskov_Jansen property:family_name ?l . ?l rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2207868
P27
Q1048835
USER
Which political territory is the native country of that person ?
(Q2733656,P27,c(Q1048835))
action filter_type
action find
entity Q2207868
relation P27
type Q1048835
['Q2733656', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q2207868 property:P27 ?q }
F.J. Billeskov Jansen
action filter_type
action find
entity F.J. Billeskov Jansen
relation country of citizenship
type political territorial entity
['Jansen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:F.J._Billeskov_Jansen property:country_of_citizenship ?q }
[]
political territorial entity
Q35
SYSTEM
Denmark
Q35
(Q2733656,P27,c(Q1048835))
action filter_type
action find
entity Q2207868
relation P27
type Q1048835
[ANSWER] is the native country of that person
['Q2733656', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q2207868 property:P27 ?q }
Denmark
Denmark is the native country of that person
Denmark
action filter_type
action find
entity F.J. Billeskov Jansen
relation country of citizenship
type political territorial entity
['Jansen', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:F.J._Billeskov_Jansen property:country_of_citizenship ?q }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P27
Q1048835 Q502895
USER
Which political territories do approximately the same number of people belong to as that political territory ?
(c(Q502895),P27,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q35
relation P27
type Q1048835
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?d ) WHERE { ?m rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q502895 . ?n property:P27 ?m } GROUP BY ?m } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q35 property:P27 ?g . ?g rdf:type ontology:Q1048835 } } }
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Denmark
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?d ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:common_name . ?n property:country_of_citizenship ?m } GROUP BY ?m } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Denmark property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity } } }
[]
political territorial entity common name
Q408 Q35 Q16
SYSTEM
Australia, Denmark, Canada
Q635755 Q668384 Q1000 Q193714 Q1747689 Q746558 Q838261 Q785 Q193619 Q691 Q769 Q685 Q699964 Q763 Q1232887 Q664 Q766 Q22880 Q170361 Q1054923 Q10557 Q5720 Q505610 Q693551 Q13353 Q494354 Q650489 Q781 Q5705 Q757 Q16 Q168159 Q5785 Q35 Q109128 Q3306663 Q190959 Q11266977 Q223793 Q3995 Q130842 Q40 Q18221 Q650682 Q778 Q408 Q9676 Q217829 Q100166 Q9648 Q234 Q4040 Q2991382 Q309460 Q129286 Q168651 Q3908 Q9337 Q23635 Q192184 Q25228 Q31747 Q25305 Q79965 Q157070 Q170604
(c(Q502895),P27,c(Q1048835))
action approx
action find_reverse_tuple_counts
relation P27
type Q1048835
type Q502895
action count
action filter_type
action find
entity Q35
relation P27
type Q1048835
[ANSWERS] approximately the same number of people belong to as that political territory
[{'concept': 'Q502895'}, 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?d ) WHERE { ?m rdf:type ontology:Q1048835 . ?n rdf:type ontology:Q502895 . ?n property:P27 ?m } GROUP BY ?m } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Q35 property:P27 ?g . ?g rdf:type ontology:Q1048835 } } }
Odieta Medellín Gabon Mandatory Palestine Ancient Rome Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Papua New Guinea Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis County of Savoy New Zealand Jamaica Electoral Palatinate Saar British Hong Kong Swabia Valencian Country Flintshire Landgraviate of Hesse-Darmstadt Montserrat Kara-Khanid Khanate Margraviate of Baden Antigua and Barbuda Catalonia Saint Vincent and the Grenadines Canada Anglesey Cayman Islands Denmark Gwynedd Merthyr Tydfil County Borough Transvaal Epirus Kingdom of Etruria Basque Country Greater Lebanon Austria Turks and Caicos Islands Denbighshire The Bahamas Australia Isle of Man Ceredigion Orkney Islands Falkland Islands Flemish Region Aragon County of Provence County of Hainaut British Raj Landgraviate of Hesse-Kassel Galicia Flemish Region Bermuda Saint Helena, Ascension and Tristan da Cunha Anguilla Irish Free State British Virgin Islands Golden Horde County of Flanders New France
Australia, Denmark and Canada approximately the same number of people belong to as that political territory
Australia Denmark Canada
action approx
action find_reverse_tuple_counts
relation country of citizenship
type political territorial entity
type common name
action count
action filter_type
action find
entity Denmark
relation country of citizenship
type political territorial entity
[{'concept': 'common name'}, 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?n ) AS ?d ) WHERE { ?m rdf:type ontology:political_territorial_entity . ?n rdf:type ontology:common_name . ?n property:country_of_citizenship ?m } GROUP BY ?m } . FILTER ( ?d = ?x ) . { SELECT DISTINCT ( COUNT ( ?g ) AS ?x ) WHERE { resource:Denmark property:country_of_citizenship ?g . ?g rdf:type ontology:political_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1052650
P17
Q334166
USER
Are Royal Train located in those political territories ?
(Q1052650,P17,Q408) (Q1052650,P17,Q35) (Q1052650,P17,Q16)
action is_in
entity prev_answer
action find
entity Q1052650
relation P17
['Q1052650', 'P17', 'Q408'] ['Q1052650', 'P17', 'Q35'] ['Q1052650', 'P17', 'Q16']
ASK WHERE { VALUES ( ?e ) { ( resource:Q635755 ) ( resource:Q668384 ) ( resource:Q1000 ) } . resource:Q1052650 property:P17 ?e }
Royal Train
action is_in
entity prev_answer
action find
entity Royal Train
relation country
['Royal Train', 'country', 'Australia'] ['Royal Train', 'country', 'Denmark'] ['Royal Train', 'country', 'Canada']
ASK WHERE { VALUES ( ?e ) { ( resource:Odieta ) ( resource:Medellín ) ( resource:Gabon ) } . resource:Royal_Train property:country ?e }
[]
mode of transport
SYSTEM
YES
(Q1052650,P17,Q408) (Q1052650,P17,Q35) (Q1052650,P17,Q16)
action is_in
entity prev_answer
action find
entity Q1052650
relation P17
[ANSWER]
['Q1052650', 'P17', 'Q408'] ['Q1052650', 'P17', 'Q35'] ['Q1052650', 'P17', 'Q16']
ASK WHERE { VALUES ( ?e ) { ( resource:Q635755 ) ( resource:Q668384 ) ( resource:Q1000 ) } . resource:Q1052650 property:P17 ?e }
Yes
action is_in
entity prev_answer
action find
entity Royal Train
relation country
['Royal Train', 'country', 'Australia'] ['Royal Train', 'country', 'Denmark'] ['Royal Train', 'country', 'Canada']
ASK WHERE { VALUES ( ?e ) { ( resource:Odieta ) ( resource:Medellín ) ( resource:Gabon ) } . resource:Royal_Train property:country ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q35
P138
Q17444909
USER
Which astronomical object type has Denmark as its toponym ?
(c(Q17444909),P138,Q35)
action filter_type
action find_reverse
entity Q35
relation P138
type Q17444909
[{'concept': 'Q17444909'}, 'P138', 'Q35']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q17444909 . ?k property:P138 resource:Q35 }
Denmark
action filter_type
action find_reverse
entity Denmark
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Denmark']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:astronomical_object_type . ?k property:named_after resource:Denmark }
[]
astronomical object type
Q836729
SYSTEM
2117 Danmark
Q836729
(c(Q17444909),P138,Q35)
action filter_type
action find_reverse
entity Q35
relation P138
type Q17444909
[ANSWER] has Denmark as its toponym
[{'concept': 'Q17444909'}, 'P138', 'Q35']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q17444909 . ?k property:P138 resource:Q35 }
2117 Danmark
2117 Danmark has Denmark as its toponym
2117 Danmark
action filter_type
action find_reverse
entity Denmark
relation named after
type astronomical object type
[{'concept': 'astronomical object type'}, 'named after', 'Denmark']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:astronomical_object_type . ?k property:named_after resource:Denmark }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q836729
P196
Q6999
USER
Which astronomical object is known as the minor planet group of that astronomical object type ?
(Q836729,P196,c(Q6999))
action filter_type
action find
entity Q836729
relation P196
type Q6999
['Q836729', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?s WHERE { resource:Q836729 property:P196 ?s . ?s rdf:type ontology:Q6999 }
2117 Danmark
action filter_type
action find
entity 2117 Danmark
relation minor planet group
type astronomical object
['2117 Danmark', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?s WHERE { resource:2117_Danmark property:minor_planet_group ?s . ?s rdf:type ontology:astronomical_object }
[]
astronomical object
Q2179
SYSTEM
asteroid belt
Q2179
(Q836729,P196,c(Q6999))
action filter_type
action find
entity Q836729
relation P196
type Q6999
[ANSWER] is known as the minor planet group of that astronomical object type
['Q836729', 'P196', {'concept': 'Q6999'}]
SELECT DISTINCT ?s WHERE { resource:Q836729 property:P196 ?s . ?s rdf:type ontology:Q6999 }
asteroid belt
Asteroid belt is known as the minor planet group of that astronomical object type
asteroid belt
action filter_type
action find
entity 2117 Danmark
relation minor planet group
type astronomical object
['2117 Danmark', 'minor planet group', {'concept': 'astronomical object'}]
SELECT DISTINCT ?s WHERE { resource:2117_Danmark property:minor_planet_group ?s . ?s rdf:type ontology:astronomical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P495
Q1048835 Q2342494 Q15416
USER
How many political territories did exactly 1 collectables or television programs originate ?
(c(Q2342494)|c(Q15416),P495,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
value 1
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?a WHERE { { ?l property:P495 ?a . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15416 } UNION { ?l property:P495 ?a . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?x = 1 ) }
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
value 1
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?a WHERE { { ?l property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:television_program } UNION { ?l property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?x = 1 ) }
[]
political territorial entity collectable television program
SYSTEM
2
Q691 Q31747
(c(Q2342494)|c(Q15416),P495,c(Q1048835))
action count
action equal
action union
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q1048835
type Q15416
value 1
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?a WHERE { { ?l property:P495 ?a . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q15416 } UNION { ?l property:P495 ?a . ?a rdf:type ontology:Q1048835 . ?l rdf:type ontology:Q2342494 } } GROUP BY ?a } . FILTER ( ?x = 1 ) }
Papua New Guinea Irish Free State
2
action count
action equal
action union
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type political territorial entity
type television program
value 1
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) ?a WHERE { { ?l property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:television_program } UNION { ?l property:country_of_origin ?a . ?a rdf:type ontology:political_territorial_entity . ?l rdf:type ontology:collectable } } GROUP BY ?a } . FILTER ( ?x = 1 ) }
[]