Simple Question (Direct)
Simple Question
Q1386939
P27
Q15617994
USER
Which administrative territory is Jean-Baptiste André Godin a civilian of ?
(Q1386939,P27,c(Q15617994))
action filter_type
action find
entity Q1386939
relation P27
type Q15617994
['Q1386939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1386939 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Jean-Baptiste André Godin
action filter_type
action find
entity Jean-Baptiste André Godin
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Baptiste André Godin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Baptiste_André_Godin property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q1386939,P27,c(Q15617994))
action filter_type
action find
entity Q1386939
relation P27
type Q15617994
[ANSWER] is Jean-Baptiste André Godin a civilian of
['Q1386939', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q1386939 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
France
France is Jean-Baptiste André Godin a civilian of
France
action filter_type
action find
entity Jean-Baptiste André Godin
relation country of citizenship
type designation for an administrative territorial entity
['Jean-Baptiste André Godin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Jean-Baptiste_André_Godin property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1386939
P39
Q12737077
USER
Which occupation was a position occupied by Jean-Baptiste André Godin ?
(Q1386939,P39,c(Q12737077))
action filter_type
action find
entity Q1386939
relation P39
type Q12737077
['Q1386939', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1386939 property:P39 ?e }
Jean-Baptiste André Godin
action filter_type
action find
entity Jean-Baptiste André Godin
relation position held
type occupation
['Jean-Baptiste André Godin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jean-Baptiste_André_Godin property:position_held ?e }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q1386939,P39,c(Q12737077))
action filter_type
action find
entity Q1386939
relation P39
type Q12737077
A member of the French National Assembly was a position occupied by Jean-Baptiste André Godin
['Q1386939', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q12737077 . resource:Q1386939 property:P39 ?e }
member of the French National Assembly
A member of the French National Assembly was a position occupied by Jean-Baptiste André Godin
member of the French National Assembly
action filter_type
action find
entity Jean-Baptiste André Godin
relation position held
type occupation
['Jean-Baptiste André Godin', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:occupation . resource:Jean-Baptiste_André_Godin property:position_held ?e }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q142
P706
Q151885
USER
Which concepts have their location as France ?
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P706 resource:Q142 . ?t rdf:type ontology:Q151885 }
France
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?t WHERE { ?t property:located_on_terrain_feature resource:France . ?t rdf:type ontology:concept }
[]
concept
Q1808482 Q2379716
SYSTEM
Tardenoisian, Sögel-Wohlde culture
Q1808482 Q2379716
(c(Q151885),P706,Q142)
action filter_type
action find_reverse
entity Q142
relation P706
type Q151885
[ANSWERS] have their location as France
[{'concept': 'Q151885'}, 'P706', 'Q142']
SELECT DISTINCT ?t WHERE { ?t property:P706 resource:Q142 . ?t rdf:type ontology:Q151885 }
Tardenoisian Sögel-Wohlde culture
Tardenoisian and Sögel-Wohlde culture have their location as France
Tardenoisian Sögel-Wohlde culture
action filter_type
action find_reverse
entity France
relation located on terrain feature
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'France']
SELECT DISTINCT ?t WHERE { ?t property:located_on_terrain_feature resource:France . ?t rdf:type ontology:concept }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2379716
P61
Q502895
USER
Which person was the first person to come up with that concept ?
(Q2379716,P61,c(Q502895))
action filter_type
action find
entity Q2379716
relation P61
type Q502895
['Q2379716', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2379716 property:P61 ?i . ?i rdf:type ontology:Q502895 }
Sögel-Wohlde culture
action filter_type
action find
entity Sögel-Wohlde culture
relation discoverer or inventor
type common name
['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Sögel-Wohlde_culture property:discoverer_or_inventor ?i . ?i rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q2379716
SYSTEM
Did you mean Sögel-Wohlde culture ?
Q1808482 Q2379716
(Q1808482,P61,c(Q502895)) (Q2379716,P61,c(Q502895))
[ANSWER]
['Q1808482', 'P61', {'concept': 'Q502895'}] ['Q2379716', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2379716 property:P61 ?i . ?i rdf:type ontology:Q502895 }
Tardenoisian Sögel-Wohlde culture
Did you mean Sögel-Wohlde culture ?
Sögel-Wohlde culture
['Tardenoisian', 'discoverer or inventor', {'concept': 'common name'}] ['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Sögel-Wohlde_culture property:discoverer_or_inventor ?i . ?i rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q2379716,P61,c(Q502895))
['Q2379716', 'P61', {'concept': 'Q502895'}]
['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
[]
Q1460695
SYSTEM
Friedrich Laux
Q1460695
(Q2379716,P61,c(Q502895))
action filter_type
action find
entity Q2379716
relation P61
type Q502895
[ANSWER] was the first person to come up with that concept
['Q2379716', 'P61', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { resource:Q2379716 property:P61 ?i . ?i rdf:type ontology:Q502895 }
Friedrich Laux
Friedrich Laux was the first person to come up with that concept
Friedrich Laux
action filter_type
action find
entity Sögel-Wohlde culture
relation discoverer or inventor
type common name
['Sögel-Wohlde culture', 'discoverer or inventor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { resource:Sögel-Wohlde_culture property:discoverer_or_inventor ?i . ?i rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q151885 Q2342494 Q15709879
USER
Which concepts are depicted in min number of collectables or artwork series ?
(c(Q2342494)|c(Q15709879),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
[[{'concept': 'Q2342494'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { VALUES ( ?t ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?u rdf:type ?t } GROUP BY ?w } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:Q151885 . ?r rdf:type ontology:Q2342494 . ?r property:P180 ?z } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q151885 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?z } } }
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type collectable
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
[[{'concept': 'collectable'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { VALUES ( ?t ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?u rdf:type ?t } GROUP BY ?w } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:concept . ?r rdf:type ontology:collectable . ?r property:depicts ?z } UNION { ?r property:depicts ?z . ?z rdf:type ontology:concept . ?r rdf:type ontology:artwork_series } } GROUP BY ?z } } }
[]
concept collectable artwork series
Q4964182 Q931260 Q12004621
SYSTEM
philosopher, murderer, fortune-teller
Q254508 Q193373 Q13381863 Q2304859 Q2472587 Q7743 Q188353 Q34023 Q454 Q177923 Q8436 Q14467155 Q177826 Q189829 Q48942 Q1968442 Q170430 Q482980 Q12004621 Q11513337 Q2207288 Q126236 Q15980704 Q273283 Q124216 Q703534 Q272735 Q17176618 Q38433 Q48282 Q113904 Q43616 Q1146843 Q1714828 Q2979 Q25443024 Q4964182 Q11399 Q40953 Q213449 Q327055 Q877674 Q6388 Q203872 Q6537379 Q2083958 Q855091 Q2066131 Q3562775 Q931260 Q192581 Q18120029 Q18121798 Q876776 Q10843402 Q179637 Q5167661 Q3035707 Q1862087 Q1134237 Q10294 Q1125062 Q13382576 Q7234072
(c(Q2342494)|c(Q15709879),P180,c(Q151885))
action argmin
action union
action find_reverse_tuple_counts
relation P180
type Q151885
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q151885
type Q15709879
[ANSWERS] are depicted in min number of collectables or artwork series
[[{'concept': 'Q2342494'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q151885'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { VALUES ( ?t ) { ( ontology:Q15709879 ) ( ontology:Q2342494 ) } . ?u rdf:type ?t } GROUP BY ?w } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:Q151885 . ?r rdf:type ontology:Q2342494 . ?r property:P180 ?z } UNION { ?r property:P180 ?z . ?z rdf:type ontology:Q151885 . ?r rdf:type ontology:Q15709879 } } GROUP BY ?z } } }
outlaw Gordian knot fencer sovereign people home Welsh people tumulus peace auction family gaze clergy hermit pupil donor predation author fortune-teller athletics competitor craft conquistador matchmaker beggar Swiss people employee tree smuggler Newton's laws of motion student Radha mummy anchorite hunter liberty to walk philosopher rock music prayer eating worker touch human swimming being walking pattern guitarist sportsperson thief murderer job bibliophile lovers' embrace drinking swimmer prisoner of war justice gift prisoner court poverty rebel rower postal worker
Philosopher, murderer and fortune-teller are depicted in min number of collectables or artwork series
philosopher murderer fortune-teller
action argmin
action union
action find_reverse_tuple_counts
relation depicts
type concept
type collectable
action find_reverse_tuple_counts
relation depicts
type concept
type artwork series
[[{'concept': 'collectable'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'concept'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) ?w WHERE { VALUES ( ?t ) { ( ontology:artwork_series ) ( ontology:collectable ) } . ?u rdf:type ?t } GROUP BY ?w } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MIN ( ?j ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) ?z WHERE { { ?z rdf:type ontology:concept . ?r rdf:type ontology:collectable . ?r property:depicts ?z } UNION { ?r property:depicts ?z . ?z rdf:type ontology:concept . ?r rdf:type ontology:artwork_series } } GROUP BY ?z } } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P101
Q151885 Q43229 Q502895
USER
Which concepts are the area of greater number of organizations and people than that concept ?
(c(Q43229)|c(Q502895),P101,c(Q151885))
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
concept organization common name
Comparative|More/Less|Mult. entity type|Clarification
Q12004621
SYSTEM
Did you mean fortune-teller ?
(c(Q43229)|c(Q502895),P101,c(Q151885))
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
Did you mean fortune-teller ?
fortune-teller
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
USER
No, I meant philosopher. Could you tell me the answer for that?
(c(Q43229)|c(Q502895),P101,c(Q151885))
Q4964182
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
[]
Q131476 Q2066131 Q37073
SYSTEM
graph theory, sportsperson, pop music
Q3281534 Q9730 Q212944 Q177923 Q131476 Q9778 Q37073 Q3014296 Q847526 Q214917 Q50637 Q908604 Q181043 Q4056436 Q186075 Q192781 Q2066131 Q454 Q39680 Q15253558 Q1065742 Q1195695 Q8341 Q8361 Q1336170 Q482980 Q6501221
(c(Q43229)|c(Q502895),P101,c(Q151885))
[ANSWERS] are the area of greater number of organizations and people than that concept
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ?y WHERE { { { ?z property:Q627436 ?y } UNION { ?x property:Q627436 ?y } } . ?z rdf:type ontology:Q43229 . ?y rdf:type ontology:Q151885 . ?x rdf:type ontology:Q502895 }
modern history classical music klezmer auction graph theory electronic music pop music motorcycle racer queueing theory playwright art history social history dissident Bard contemporary history military history sportsperson peace macroeconomics activist religious music intellectual history jazz Baroque music Ramsey theory author control theory
Graph theory, sportsperson and pop music are the area of greater number of organizations and people than that concept
graph theory sportsperson pop music
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ?y WHERE { { { ?z property:field_of_work ?y } UNION { ?x property:field_of_work ?y } } . ?z rdf:type ontology:organization . ?y rdf:type ontology:concept . ?x rdf:type ontology:common_name }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P101
Q151885 Q21114848
USER
How many concepts do approximately the same number of magazine genres belong to as that concept ?
(c(Q21114848),P101,c(Q151885))
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
concept magazine genre
Comparative|Count over More/Less|Single entity type|Clarification
Q131476
SYSTEM
Did you mean graph theory ?
(c(Q21114848),P101,c(Q151885))
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
Did you mean graph theory ?
graph theory
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant pop music. Could you tell me the answer for that?
(c(Q21114848),P101,c(Q151885))
Q37073
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
[]
SYSTEM
68
Q132438 Q935586 Q26384 Q3281534 Q1080208 Q2474068 Q177571 Q5127848 Q9730 Q43343 Q212944 Q177923 Q333018 Q131476 Q4204600 Q9778 Q826745 Q5465488 Q6661 Q37073 Q39072 Q674684 Q3014296 Q83270 Q612024 Q847526 Q38848 Q214917 Q860918 Q126236 Q131222 Q212024 Q1198874 Q373342 Q203549 Q908604 Q2389651 Q181043 Q4056436 Q4964182 Q4290 Q186075 Q192781 Q903820 Q205560 Q467 Q1476215 Q83440 Q855091 Q2066131 Q454 Q39680 Q15253558 Q622512 Q10294 Q1065742 Q858517 Q1195695 Q135637 Q8341 Q792542 Q8361 Q1336170 Q396077 Q482980 Q6501221 Q11401 Q3242115
(c(Q21114848),P101,c(Q151885))
[ANSWER]
[{'concept': 'Q21114848'}, 'P101', {'concept': 'Q151885'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:Q627436 ?y . ?z rdf:type ontology:Q21114848 . ?y rdf:type ontology:Q151885 }
black metal Liturgical music do it yourself modern history production theory cosmetology decision theory class classical music contemporary folk music klezmer auction Common descent graph theory History of Ancient Rome electronic music humanitarian aid food history French cuisine pop music microeconomics Sevdalinka motorcycle racer hard rock contemporary classical music queueing theory heavy metal music playwright Esperantist conquistador information theory Negro spiritual operator theory popular music scientific management social history children's music dissident Bard philosopher investing contemporary history military history field theory trip hop woman human rights activist country music guitarist sportsperson peace macroeconomics activist Spanish cuisine poverty religious music cultural history intellectual history chiptune jazz axiomatic system Baroque music Ramsey theory agrarian history author control theory hip hop revolutionary
68
[{'concept': 'magazine genre'}, 'field of work', {'concept': 'concept'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:field_of_work ?y . ?z rdf:type ontology:magazine_genre . ?y rdf:type ontology:concept }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q58778 Q5962346 Q151885
USER
Which concepts are a part of atleast 1 systems or classification schemes ?
(c(Q151885),P361,c(Q58778)|c(Q5962346))
action atleast
action union
action find_tuple_counts
relation P361
type Q151885
type Q58778
action find_tuple_counts
relation P361
type Q151885
type Q5962346
value 1
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?i WHERE { { ?i property:P361 ?p . ?p rdf:type ontology:Q58778 . ?i rdf:type ontology:Q151885 } UNION { ?i property:P361 ?p . ?i rdf:type ontology:Q151885 . ?p rdf:type ontology:Q5962346 } } GROUP BY ?i } }
action atleast
action union
action find_tuple_counts
relation part of
type concept
type system
action find_tuple_counts
relation part of
type concept
type classification scheme
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'system'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?i WHERE { { ?i property:part_of ?p . ?p rdf:type ontology:system . ?i rdf:type ontology:concept } UNION { ?i property:part_of ?p . ?i rdf:type ontology:concept . ?p rdf:type ontology:classification_scheme } } GROUP BY ?i } }
[]
system classification scheme concept
Q5252737 Q286916 Q961596
SYSTEM
dualism, ABC theory, Stokes drift
Q5252737 Q1867823 Q286916 Q396077 Q2556572 Q961596 Q228834 Q2083958
(c(Q151885),P361,c(Q58778)|c(Q5962346))
action atleast
action union
action find_tuple_counts
relation P361
type Q151885
type Q58778
action find_tuple_counts
relation P361
type Q151885
type Q5962346
value 1
[ANSWERS] are a part of atleast 1 systems or classification schemes
[{'concept': 'Q151885'}, 'P361', [{'concept': 'Q58778'}, {'concept': 'Q5962346'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?i WHERE { { ?i property:P361 ?p . ?p rdf:type ontology:Q58778 . ?i rdf:type ontology:Q151885 } UNION { ?i property:P361 ?p . ?i rdf:type ontology:Q151885 . ?p rdf:type ontology:Q5962346 } } GROUP BY ?i } }
dualism proper ABC theory agrarian history order Stokes drift supply pyramid pattern
Dualism, ABC theory and Stokes drift are a part of atleast 1 systems or classification schemes
dualism ABC theory Stokes drift
action atleast
action union
action find_tuple_counts
relation part of
type concept
type system
action find_tuple_counts
relation part of
type concept
type classification scheme
value 1
[{'concept': 'concept'}, 'part of', [{'concept': 'system'}, {'concept': 'classification scheme'}]]
SELECT DISTINCT ?i WHERE { FILTER ( ?g >= 1 ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?g ) ?i WHERE { { ?i property:part_of ?p . ?p rdf:type ontology:system . ?i rdf:type ontology:concept } UNION { ?i property:part_of ?p . ?i rdf:type ontology:concept . ?p rdf:type ontology:classification_scheme } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q785653
P138
Q20667921 Q14524493 Q151885
USER
How many concepts come from more number of french administrative divisions or terrains than Jungian archetype ?
(c(Q151885),P138,c(Q20667921)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q20667921
action find_tuple_counts
relation P138
type Q151885
type Q14524493
action count
action filter_multi_types
action find
entity Q785653
relation P138
type Q20667921
type Q14524493
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q14524493 ) } . ?l rdf:type ?z } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q20667921 ) ( ontology:Q14524493 ) } } . resource:Q785653 property:P138 ?k } } . FILTER ( ?h > ?e ) }
Jungian archetype
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type type of french administrative division
action find_tuple_counts
relation named after
type concept
type terrain
action count
action filter_multi_types
action find
entity Jungian archetype
relation named after
type type of french administrative division
type terrain
[{'concept': 'concept'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:terrain ) } . ?l rdf:type ?z } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:type_of_french_administrative_division ) ( ontology:terrain ) } } . resource:Jungian_archetype property:named_after ?k } } . FILTER ( ?h > ?e ) }
[]
type of french administrative division terrain concept
SYSTEM
4
Q1121344 Q570798 Q1090851 Q221901
(c(Q151885),P138,c(Q20667921)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q20667921
action find_tuple_counts
relation P138
type Q151885
type Q14524493
action count
action filter_multi_types
action find
entity Q785653
relation P138
type Q20667921
type Q14524493
[ANSWER]
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:Q20667921 ) ( ontology:Q14524493 ) } . ?l rdf:type ?z } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:Q20667921 ) ( ontology:Q14524493 ) } } . resource:Q785653 property:P138 ?k } } . FILTER ( ?h > ?e ) }
Solutrean Michelsberg culture Châtelperronian Aurignacian
4
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type type of french administrative division
action find_tuple_counts
relation named after
type concept
type terrain
action count
action filter_multi_types
action find
entity Jungian archetype
relation named after
type type of french administrative division
type terrain
[{'concept': 'concept'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?p ) AS ?n ) WHERE { { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?h ) WHERE { VALUES ( ?z ) { ( ontology:type_of_french_administrative_division ) ( ontology:terrain ) } . ?l rdf:type ?z } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { { ?k rdf:type ?i . VALUES ( ?i ) { ( ontology:type_of_french_administrative_division ) ( ontology:terrain ) } } . resource:Jungian_archetype property:named_after ?k } } . FILTER ( ?h > ?e ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5319218
P138
Q20667921 Q14524493 Q151885
USER
And what about Dynkin diagram?
(c(Q151885),P138,c(Q20667921)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q20667921
action find_tuple_counts
relation P138
type Q151885
type Q14524493
action count
action filter_multi_types
action find
entity Q5319218
relation P138
type Q20667921
type Q14524493
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?p ) WHERE { { ?e rdf:type ontology:Q14524493 . ?w rdf:type ontology:Q151885 . ?w property:P138 ?e } UNION { ?w property:P138 ?e . ?w rdf:type ontology:Q151885 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q5319218 property:P138 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q14524493 } } } } . FILTER ( ?p > ?c ) }
Dynkin diagram
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type type of french administrative division
action find_tuple_counts
relation named after
type concept
type terrain
action count
action filter_multi_types
action find
entity Dynkin diagram
relation named after
type type of french administrative division
type terrain
[{'concept': 'concept'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?p ) WHERE { { ?e rdf:type ontology:terrain . ?w rdf:type ontology:concept . ?w property:named_after ?e } UNION { ?w property:named_after ?e . ?w rdf:type ontology:concept . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Dynkin_diagram property:named_after ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:terrain } } } } . FILTER ( ?p > ?c ) }
[]
type of french administrative division terrain concept
SYSTEM
4
Q1121344 Q570798 Q1090851 Q221901
(c(Q151885),P138,c(Q20667921)|c(Q14524493))
action count
action greater
action union
action find_tuple_counts
relation P138
type Q151885
type Q20667921
action find_tuple_counts
relation P138
type Q151885
type Q14524493
action count
action filter_multi_types
action find
entity Q5319218
relation P138
type Q20667921
type Q14524493
[ANSWER]
[{'concept': 'Q151885'}, 'P138', [{'concept': 'Q20667921'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?p ) WHERE { { ?e rdf:type ontology:Q14524493 . ?w rdf:type ontology:Q151885 . ?w property:P138 ?e } UNION { ?w property:P138 ?e . ?w rdf:type ontology:Q151885 . ?e rdf:type ontology:Q20667921 } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Q5319218 property:P138 ?v . { { ?v rdf:type ontology:Q20667921 } UNION { ?v rdf:type ontology:Q14524493 } } } } . FILTER ( ?p > ?c ) }
Solutrean Michelsberg culture Châtelperronian Aurignacian
4
action count
action greater
action union
action find_tuple_counts
relation named after
type concept
type type of french administrative division
action find_tuple_counts
relation named after
type concept
type terrain
action count
action filter_multi_types
action find
entity Dynkin diagram
relation named after
type type of french administrative division
type terrain
[{'concept': 'concept'}, 'named after', [{'concept': 'type of french administrative division'}, {'concept': 'terrain'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?d ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?e ) AS ?p ) WHERE { { ?e rdf:type ontology:terrain . ?w rdf:type ontology:concept . ?w property:named_after ?e } UNION { ?w property:named_after ?e . ?w rdf:type ontology:concept . ?e rdf:type ontology:type_of_french_administrative_division } } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?c ) WHERE { resource:Dynkin_diagram property:named_after ?v . { { ?v rdf:type ontology:type_of_french_administrative_division } UNION { ?v rdf:type ontology:terrain } } } } . FILTER ( ?p > ?c ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P706
Q271669 Q151885
USER
Which landforms are the location where max number of concepts are located ?
(c(Q151885),P706,Q369318)
action argmax
action find_tuple_counts
relation P706
type Q271669
type Q151885
[{'concept': 'Q151885'}, 'P706', 'Q369318']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?j ) WHERE { ?s property:P706 ?f . ?s rdf:type ontology:Q271669 . ?f rdf:type ontology:Q151885 } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?h property:P706 ?a . ?a rdf:type ontology:Q151885 . ?h rdf:type ontology:Q271669 } GROUP BY ?h } . FILTER ( ?t = ?o ) }
action argmax
action find_tuple_counts
relation located on terrain feature
type landform
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Inishmore']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?j ) WHERE { ?s property:located_on_terrain_feature ?f . ?s rdf:type ontology:landform . ?f rdf:type ontology:concept } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?h property:located_on_terrain_feature ?a . ?a rdf:type ontology:concept . ?h rdf:type ontology:landform } GROUP BY ?h } . FILTER ( ?t = ?o ) }
[]
landform concept
Q12837
SYSTEM
Iberian Peninsula
Q12837
(c(Q151885),P706,Q369318)
action argmax
action find_tuple_counts
relation P706
type Q271669
type Q151885
[ANSWER] is the location where max number of concepts is located
[{'concept': 'Q151885'}, 'P706', 'Q369318']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?j ) WHERE { ?s property:P706 ?f . ?s rdf:type ontology:Q271669 . ?f rdf:type ontology:Q151885 } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?h property:P706 ?a . ?a rdf:type ontology:Q151885 . ?h rdf:type ontology:Q271669 } GROUP BY ?h } . FILTER ( ?t = ?o ) }
Iberian Peninsula
Iberian Peninsula is the location where max number of concepts is located
Iberian Peninsula
action argmax
action find_tuple_counts
relation located on terrain feature
type landform
type concept
[{'concept': 'concept'}, 'located on terrain feature', 'Inishmore']
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?o ) { SELECT DISTINCT ?s ( COUNT ( ?f ) AS ?j ) WHERE { ?s property:located_on_terrain_feature ?f . ?s rdf:type ontology:landform . ?f rdf:type ontology:concept } GROUP BY ?s } } . { SELECT DISTINCT ?h ( COUNT ( ?a ) AS ?t ) WHERE { ?h property:located_on_terrain_feature ?a . ?a rdf:type ontology:concept . ?h rdf:type ontology:landform } GROUP BY ?h } . FILTER ( ?t = ?o ) }
[]